> > Scripting on top of an invalid HTML document won't make 
> > your life easier (obviously). I'd try to replace spaces given
> > by the user to "_" in the backend.

> > And then do what with underscores given by the user?

> Come on, that was just an idea. You can leave underscores the 
> way they are for example. Or you could also just remove the 
> blanks instead. But if you're able to change the backend 
> anyway, it would be better to simply not allow white-space 
> and validate the user input.

I like it when visitors put quote marks and angle brackets and stuff in
these ID fields. It makes for a much more interactive environment when they
can run their own code!

-Mike


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to