Hi Team,
I want to block entering apostrope char i.e ' whenever users are entering that char in a textbox. Please tell me how to avoid entering special chars in the textbox . Thanks in advance.
Regards,
SagarPallavi
Hi Team,
I want to block entering apostrope char i.e ' whenever users are entering that char in a textbox. Please tell me how to avoid entering special chars in the textbox . Thanks in advance.
Regards,
SagarPallavi
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Srinivasan RamamoorthiRank #877 · 2.5K reputationPosted Oct 7, 2021, 8:44 AM EDT
Check this article
https://www.aspsnippets.com/Articles/Restrict-user-from-entering-Special-Characters-in-TextBox-using-jQuery.aspx
https://www.code-sample.com/2016/06/javascript-jquery-special-characters.html
Ketan MokariyaRank #1,793 · 832 reputationPosted Oct 7, 2021, 9:24 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Oct 8, 2021, 12:29 AM EDT