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
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.
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.