2 posts tagged with javascript by GregX3.
Displaying 1 through 2 of 2.

How to Sanitize HTML (Javascript Security)

Is there a safe way to sanitize user submitted HTML to prevent security problems? [more inside]
posted by GregX3 on Sep 3, 2007 - 31 answers

Spaces Cause Strange Behavior in TextArea

At least in Firefox I'm seeing an undesirable behavior in textareas. My question is how to fix/avoid it. Here's the problem. Go to a textarea in Firefox. (The ask.metafilter ask a question one will do fine.) Type enough characters to fill a whole line of the textarea e.g., kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk... Now put a single space in front of that line. It moves the line one line lower instead of just putting a space in front of the characters which is what I would prefer i.e., treat a space like any other character. [more inside]
posted by GregX3 on Jul 27, 2007 - 5 answers

Page: 1