I have a anchor tag, with id=”click_me”. When i click on this i should enable input text (<input type="text" id="summary" class="summary">), which is disabled first.
even i can do it using javascript function, by calling these javascript function() using onclick in the tag; but in my application i shld not use these.
I am newbie to php. please suggest me any alternative solution either using DOM or anything else.
Thanks in advance
jQuery:
$('#click_me').click(function() { $('select-your-input-element-here').attr('disabled',''); });