how we can remove wildcard charecters in asp.net
how we can remove wildcard charecters in asp.net through javascript
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Abhay ShankerPosted Apr 7, 2014, 4:36 AM
function replaceWildcards(elem) {
var txt = (elem == null) ? ' ' : elem.value;
txt = txt.replace('@', '');
txt = txt.replace('^', '');
txt = txt.replace('$', '');
// etc...
if(txt != ' ')
elem.value = txt;
}
And below line onPage_Load
Textbox1.Attributes.Add("onblur", "replaceWildcards(this);")
Lakshmanan Sethu SankaranarayanPosted Apr 7, 2014, 2:05 AM