Hello,

I had an <a href

<a href="#" id="hide2" title="Click to see details">More details</
a>
$(this).text($(this).text() == 'More details' ? 'Hide details' : 'More
details');

and on click I changed the text from more to hide

I had to change the <a href to

<input type="button" id="hide2B" value="More details"  />

How do I change the value text on click ?

David




Reply via email to