[WSG] More on forms

2012-05-19 Thread coder
Hi all, I've been looking at stuff like this (check for these chars and disable submit button if present): function check(node) { var re = new RegExp('[\?\\[\\]]', 'g'); document.getElementById('sub').disabled = re.test(node.value); } What I'm asking now is, is there an equivalent

Re: [WSG] More on forms

2012-05-19 Thread David Dorward
On 19 May 2012, at 10:04, coder wrote: var re = new RegExp('[\?\\[\\]]', 'g'); What I'm asking now is, is there an equivalent function using words instead of characters? In a regular expression bar will match bar while [bar] will match b or a or r. Just don't use the square brackets.

[WSG] Out of the Office Re: WSG Digest

2012-05-19 Thread Janet Jaffke
I am currently out of the office until May 22. If you need immediate assistance please contact Jon Kavanaugh at extension 75779. Best Regards, Janet Jaffke -- • Janet Jaffke Director Content Strategy and UI Illinois Institute of Technology 3300 S.