473,404 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Buttons - active and inactive

TNT
48
Is there a way to manipulate the activity and inactivity of buttons using Javascript?
May 19 '07 #1
2 3149
pbmods
5,821 Expert 4TB
Are you looking for the disabled property?

http://www.w3schools.com/htmldom/dom_obj_button.asp

Or do you need to set event handlers?

http://developer.mozilla.org/en/docs...dEventListener
http://developer.mozilla.org/en/docs...eEventListener
May 19 '07 #2
TNT
48
Yeah, I was looking for the disabled property. Thanks.
May 20 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jamey Saunders | last post by:
Hi all, I'm just learning Python (I'm about 8 hours in so far), and I have a problem. I'm writing a small Windows app using Tkinter. I have two buttons on my screen that I want to start in an...
16
by: Picho | last post by:
Hi all, Is there any .NET way (I am not rulling out API usage) to add button(s) to a form's title bar? I found some non-.NET solutions that did actually work in VB6 but not in the ..NET...
2
by: thechaosengine | last post by:
Hi all, Does anyone know of a design pattern to deal with the issue of making UI controls active and inactive according to the context of what the user is doing? I've been thinking about the...
2
by: Kelly | last post by:
I have a subform that display requisition information. One of the fields in the subform is a combo box that shows who requested the requisition. The users can change who requested the requisition...
3
by: vanidosa27 | last post by:
I need help with my radio buttons... I am creating an application that dislays the number of daily calories needed to maintain your current weight. The moderately active female will have total...
1
by: Fritjolf | last post by:
Hi. I'm developing a testapplication, retrieving objects of type "Computer" from out AD server. More than 5000 are listed, and I know lots of these are set as inactive. I've seen some code...
8
by: salad | last post by:
I was wondering how you handle active/inactive elements in a combo box. Let's say you have a combo box to select an employee. Joe Blow has been selected for many record however Joe has left the...
20
by: Scldb | last post by:
I have a form needs to be filled out. A lot of the questions are a yes/no question. When they pick yes I want some other textboxes to be active, and when they pick no I want the textboxes to be...
4
by: jay123987 | last post by:
Hey all, i am trying to do the following and am having problems, if there is anyway you can guide me or even point me to some material that may help it would be great. I have created a form in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.