Javascript: Javascript & nbsp; two important techniques for operating form fields. Javascript tutorial description:
Tip 1:
Confirm with the client when the form is submitted or reset
Tip 2:
Lists All elements in a form field and their important attributes, including names and values of input and select.
Summary:
You can use these two skills to write a common client form verification function. As for how to write it, just use your brains ^.
However, the monks still think that they should not rely too much on the client's verification mechanism. Nowadays, people are very smart. If they spend a little time thinking, they can avoid all restrictions on the client.
Directory:
1. confirm with the client when the form is submitted or reset
2. List all elements in the form field and their important attributes
Directory:
1. confirm with the client when the form is submitted or reset
The following is a reference clip: // <BR> function fCfm(msg){ <BR> if(confirm(msg))return true; <BR> return false; <BR> } // shawl.qiu script <BR>// Script Back |
[1] [2] Next page