skip to main
|
skip to sidebar
Simple JS Guru (so its JavaScript)
Tuesday, March 23, 2010
How to Disable the Submit Button
How to Disable the Submit Button using JavaScript
onclick="this.disabled=true"
eg:
<button onclick="setShips(5); this.disabled="true"">The Great Ship</button>
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2010
(6)
▼
March
(6)
Get URL Parameters Using Javascript Sample Code
Changing td (or table) background image to another...
Substring ( part of a string ) JavaScript
Finding length of a string in JavaScript
Sample Code Mouse Coordinates - JavaScript
How to Disable the Submit Button
No comments:
Post a Comment