![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a script that I found online to do dynamic checking of passwords (for verifying that the re-typed password matches the original). This code works great in a basic HTML document, but when I try to incorporate the script into a more complex document that uses lots of nested tables, I get scoping errors (presumably) when I type in my input field. Rather than post huge amounts of HTML here, I've linked 2 documents. The first behaves correctly, the second pops an alert when the function is entered, and this only happens when the page is first loaded. Can anyone help show how I should reference the functions to scope them correctly? First document : http://www.norz.net/example.html Second, error-prone document : http://www.norz.net/example2.html |
#3
| |||
| |||
|
|
Hello ! In second document the same name "verify" used for object and input. That's the only problem. HTH. |
![]() |
| Thread Tools | |
| Display Modes | |
| |