Tech Support Guy banner
  • Please post in our Community Feedback thread for help with the new forum software! If you are having trouble logging in, please Contact Us for assistance.
Status
Not open for further replies.
1 - 1 of 1 Posts

·
Registered
Joined
·
6 Posts
Discussion Starter · #1 ·
hello. :)
i wrote a regular expression (regex) that i would like to use in a form with JavaScript. i tested my regex in TextPad and it looks okay.
Code:
<form id="myForm">
<input type="text" id="myTextBox">
<input type="button" value="check" onClick="check(document.getElementById('myTextBox').value);">
</form>
my questions is how do i write the function 'check' that will use my regex string?
 
1 - 1 of 1 Posts
Status
Not open for further replies.
Top