im trying to replace text in a text on blur so if the user enters this:
Hello/test
i want it to be replaced by:
test
im using a basic textbox:
<asp:TextBox runat="server" ID="fullName" CssClass="textBoxes"></asp:TextBox>
with asp.net 4.0 and jquery.
how can i do that?
thanks.
Assuming the functionality you want it to only keep the value of the string after the
/, not just to simply replace the ‘Hello/’, try this:Example fiddle