Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
Enable button
anvi kon
Ranch Hand
Posts: 148
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
In my web page I have two buttons save and finish.Intially the finish button is disabled while loading on the page.
<script> InitialLoad() { document.getElementById('finish').disabled = true; } save(){ document.getElementById('finish').disabled = false; } </script>
<html> <body onload= "InitialLoad()"> <input type="submit" name="finish" value="finish"> <input type="submit" name="save" value="save" onclick= save();> </body> </html>
I need to enable the finish button when I click the save button.
Thanks
Paul Clapham
Marshal
Posts: 28193
95
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
And what happens instead?
Eric Pascarello
author
Posts: 15385
6
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I see getElementById and I see no id on the elements.
Eric
Listen. That's my theme music. That's how I know I'm a super hero. That, and this tiny ad told me:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
disable anchor tags on printable page
I want to implement editable autocompleter in struts2 using jquery.
forward same page without refreshing
disable submit button help
enabling buttons on forms
More...