I have a read-only text-box with text in it. How to make it editable on mouse-over using J query ?
+6
A:
You could do something like this:
$('#textbox_id').mouseover(function(){
$(this).removeAttr('readonly');
});
Where textbox_id is the id of the text box.
More Info:
Sarfraz
2010-08-15 07:50:18
Sarfraz, Thank you for your simple but gr8 solution ...
Ananth
2010-08-15 08:00:27
@Ananth: You are welcome...
Sarfraz
2010-08-15 08:02:34