IP Address Validation
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hello,
I am writing a javascript function to validate the IP address
I have 4 text boxes with maximum length of 3
When I reach the maximum length of 3 I am able to tab to another text box
Similarly I am trying to tab on entering a period/dot(.) but no luck yet
If you any ideas or some code that would be really helpful for me
Thanks
I am writing a javascript function to validate the IP address
I have 4 text boxes with maximum length of 3
When I reach the maximum length of 3 I am able to tab to another text box
Similarly I am trying to tab on entering a period/dot(.) but no luck yet
If you any ideas or some code that would be really helpful for me
Thanks
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Where is your code that is not working?
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Trilochan, at JavaRanch we encourage people to write their own code. We will give the poster all the help he needs to get his code running, but it doesn't do anyone any good to just give out answers.
Please read this for more information.
Please read this for more information.
Trilochan Bharadwaj
Ranch Hand
Posts: 100
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Very true! thanks for pointing it out, message loud and clear Bear!
Trilochan.
Trilochan.
Chinni Bujji
Ranch Hand
Posts: 60
posted 16 years ago
That is my javascript method and those four text boxes
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
That is my javascript method and those four text boxes
Chinni Bujji
Ranch Hand
Posts: 60
posted 16 years ago
I have a written a new javascript function for this
but the period/dot is carried to the next text box
I dont want to display the period/dot but the use can enter it
Any ideas how to remove the period
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I have a written a new javascript function for this
but the period/dot is carried to the next text box
I dont want to display the period/dot but the use can enter it
Any ideas how to remove the period
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Return false from the event handler.
And the "javascript:" prefixes are superfluous. Remove them.
And the "javascript:" prefixes are superfluous. Remove them.
| Those are the largest trousers in the world! Especially when next to this ad: The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |










