I’m trying to replace the characters < and > onblur with a space when someone enters it into my form.
I’ve got this at the moment
$(".tbAddress").blur(function()
{
$("<").replaceWith(" ");
$(">").replaceWith(" ");
}
Any help would be much appreciated
thanks
Jamie
If your RegEx-Fu is better than mine, you can combine the two lines and pass in a Regular Expression as the first parameter to
replace().