andyhaywood
Programmer
Hi,
Does anyone know whether it's possible to detect whether a user has put some form of script in a text input? Basically we need to stop people inputting something like "<script>alert(document.cookie)</script>" into an input as when this is returned from the server in xml form it is causing errors.
Thanks.
Does anyone know whether it's possible to detect whether a user has put some form of script in a text input? Basically we need to stop people inputting something like "<script>alert(document.cookie)</script>" into an input as when this is returned from the server in xml form it is causing errors.
Thanks.