Log In
Sign Up
Why Join Hot Scripts?
Hot Scripts
All Categories
PHP
Python
Tools & Utilities
XML
Ruby on Rails
Ajax
Web Hosting
ASP
ASP.NET
C & C++
CFML
Flash
Java
JavaScript
CGI & Perl
HTML5
Forums
Blog
Scripts
Hosted Apps
Plugins
Design Templates
Forum
Blog
Advertise
Contact Us
Register
FAQ
Rules
Calendar
Search
Today's Posts
Mark Forums Read
RSS Feeds
Current location:
Hot Scripts Forums
»
General Web Coding
»
JavaScript
» One button enables another one
One button enables another one
LinkBack
Thread Tools
Display Modes
#
1
(
permalink
)
08-06-06, 06:03 AM
jives
Newbie Coder
Join Date: Jul 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
One button enables another one
I want a voting system for my site, where one button enables the other one & so on by clicking a link in the "_blank" window. kinda like this one:
http://www.romscentral.com/gbalink2.htm
I want to know how to do this, any help would be greatly appreciated.
thanks.
jives
View Public Profile
Find all posts by jives
#
2
(
permalink
)
08-06-06, 11:43 AM
TwoD
Community VIP
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
First, set disabled="disabled" in all the button tags and give them a unique id.
Then for each button, you do.
Code:
onClick="document.getElementById('nexButtonIdHere').disabled=false"
__________________
[
W3Schools - learn all about the standards.
] [
QuirksMode - Browser Quirks
] [
MS's Online Reference Docs
] [
DOM in Gecko.
]
Please pay attention to stickys, announcements and forum rules, thank you.
Please also remember
Code Wrappers
and
[SOLVED] Marking
, this helps everyone.
TwoD
View Public Profile
Find all posts by TwoD
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Paypal Generator
|
Creating form-based emails with attachments.
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
Off
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
General Community
Announcements
Polls
The Lounge
New Members & Introductions
Script Requests
HotScripts.com Discussion
Hot Scripts Forum Questions, Suggestions and Feedback
General HotScripts Site Discussion
HotScripts Site Bug Reports
General Web Coding
HTML/XHTML/XML
HTML5
JavaScript
CSS
Flash & ActionScript
Programming Languages
PHP
Perl
ASP
ASP.NET
C/C++
Visual Basic
Windows .NET Programming
Everything Java
Other Languages
Other Discussions
Web Servers
Database
Other Topics
Web Design
API
Frameworks
AJAX
Security
Server Administration
Portable Device Programming
Cloud Computing
Ruby on Rails
CFML
Python
Tools and Utilities
Remotely Hosted
Web Hosting
Advertising Forums
General Advertisements
Job Offers & Assistance
Traffic Exchange
Website Reviews
Web Hosting Talk
DBForums.com
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
how to disable browser's back button after logout
shaky
ASP
7
08-18-06
08:37 AM
Using the Back Button and the Close Button
mdgibson
Hot Scripts Forum Questions, Suggestions and Feedback
1
09-29-05
01:41 AM
Image button as a submit button
badilcan
JavaScript
2
07-31-05
09:41 AM
submit button??
tcooper
PHP
3
07-15-04
05:46 AM
radio button selection
TheLaughingBandit
ASP
3
08-31-03
07:22 PM
All times are GMT -5. The time now is
07:59 PM
.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Share on Facebook
Share on Stumble Upon
Share on Twitter