Re: [jQuery] Re: button value change

2009-11-12 Thread Joe Moore
Certainly more concise! On Thu, Nov 12, 2009 at 10:00 AM, saxan rappai wrote: > iam not sure with this .. but its working... a lil modification.. > > > > > Test Page > > > $(function() { > $('#but').toggle( > function

Re: [jQuery] Re: button value change

2009-11-12 Thread saxan rappai
iam not sure with this .. but its working... a lil modification.. Test Page $(function() { $('#but').toggle( function(event) { $(this).val('Hide Details'); },

Re: [jQuery] Re: button value change

2009-11-12 Thread Joe Moore
David, You are correct, that wont work for the input element. Sorry about that. I guess I got focused on the first part of your email and the a element. I'm wondering if you thought about why the code I provided didn't work? You might want to review the jQuery documentation and the tutorials: -

[jQuery] Re: button value change

2009-11-12 Thread David pr
Thanks but this won't work for a ? David