Friday, August 20, 2010

how to change readonly true to false in javascript

if you want change Attributes in javascript like if you textbox now readonly
but when you click on button you textbox should be readonly false it very easy

just type this code :-

document.getElementById("ta").readOnly = true;


here ta is textbox id

No comments:

Post a Comment

How to find middle node of LinkedList without using extra memory in java

To find the middle node of a LinkedList without using extra memory in Java, you can use the "tortoise and hare" algorithm. This al...