473,326 Members | 2,102 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,326 software developers and data experts.

disabling enabling textbox,buttons..etc

hi guys
can someone help me out here.im having a hard time doing this project
well this is my code I try using the disabled property of the textbox yes it workss, it disable it but when i set it to false like disabled="false" it does not enable the textbox.This is my code



<p><input type="text" name="txtbox1" size="20" disabled="true">
<input type="button" value="Click" name="B3" disabled="true"> Operator</p>
<p><input type="text" name="txtbox2" size="20"disabled="false">
<input type="button" value="Click" name="B4" disabled="false"> Supervisor</p>



tnks for the helpp..
Jan 19 '07 #1
2 2593
Nicolas
24
u can try using java script to enable it

document.<form name>.<field name>.disabled= false

i try b4...using normal code is wowt work...(if anyone can ..pls tell me)

unless i using javascript
Jan 22 '07 #2
iam_clint
1,208 Expert 1GB
to remove a disabled object simply remove disabled from it all together.

Disabled: <input type="text" disabled>
Not Disabled: <input type="text">


And I have seen this exact same question a couple times here in asp please try the search feature.
Jan 22 '07 #3

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

Similar topics

13
by: Howard Kaikow | last post by:
How does one enable/disable JavaScript in IE 6? -- http://www.standards.com/; See Howard Kaikow's web site.
6
by: Leonard | last post by:
I have several radio buttons for the user to choose from. I need to enable or disable a particular radio button, depending on a certain condition. How can I do this? Thanks, Leonard
5
by: Lyn | last post by:
Hi, I hope someone can help. I have a main form which mostly fills the Access window. In the bottom half of this form I have a tab control to display various types of data related to the main...
2
by: HumptyDumpty | last post by:
Does anyone know if there is a problem with re-enabling the Screen Saver after it has been disabled programmatically. I am using the SystemParametersInfo function within User32.dll, and have...
2
by: dougawells | last post by:
Hi- I'm wanting to have a set of radio buttons disabled when a form is displayed, then if they check another specific radio button, those would become enabled. I've tried setting it via...
1
by: hello2008 | last post by:
Hi, I have just started coding in PHP. I have coded a web page using HTML, JS, and PHP. An HTML table has to be populated dynamically using the data from the backend. Presently I have 5...
2
by: kalyanbabu | last post by:
When adding a new shipping option to the service, the add new shipping details panel comes up, but all other panels in the screen are ENABLE. Just the shipping details panel should be ENABLE, all...
3
by: owuraku | last post by:
I have a table with a field called DEPT_ACCESS. I also have a form called FRMACCESS with 3 buttons called DEPT_1, DEPT_2 and DEPT_3. I want to write a code such that when a user from whose...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.