This is a discussion on How can I disable form fields? within the HTML, CSS and Javascript Coding Techniques forums, part of the Web Development category; How can I disable form fields?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| How can I disable form fields? |
|
#2
| |||
| |||
| add attribute disabled="disabled" in the form fields. this works fine |
|
#3
| |||
| |||
| function start() { myform.tx.disabled = true; } onload = start; function chgtx() { myform.tx.disabled = !myform.cb.checked; } |
|
#4
| |||
| |||
| get samples to help you from ICT Consultants - Home Page |
|
#5
| |||
| |||
| get fast samples from ICT Consultants - Home Page |
|
#6
| |||
| |||
| What are you talking about Please tell detail |
|
#7
| |||
| |||
| Go to w3school you can learn about that |
|
#8
| |||
| |||
| Thanks for all your post
__________________ [ |
|
#9
| |||
| |||
| Well... you can always enable/disable/re-enable your input fields using JavaScript. document.getElementById(id).disabled = true; document.getElementById(id).disabled = false; |
|
#10
| |||
| |||
| you will take help from this link... Disable Form Fields |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| popup date selector return dates to different form fields. | itbarota | HTML, CSS and Javascript Coding Techniques | 3 | 01-08-2008 09:19 PM |
| How can I reset the value of form fields if the page is revisted? | itbarota | HTML, CSS and Javascript Coding Techniques | 2 | 12-05-2007 03:48 AM |
| How do I use my own graphic button to reset all the text fields in a form? | Pvinothkumar | HTML, CSS and Javascript Coding Techniques | 1 | 11-01-2007 11:02 PM |
| Appearance of Form Fields. | itbarota | HTML, CSS and Javascript Coding Techniques | 13 | 10-05-2007 07:59 AM |
| How you Disable Form Validation When Using ASP.NET Web Controls? | Archer | ASP and ASP.NET Programming | 1 | 07-23-2007 11:42 PM |
Our Partners |