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
iam not sure with this .. but its working... a lil modification..
Test Page
$(function() {
$('#but').toggle(
function(event) {
$(this).val('Hide Details');
},
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:
-
3 matches
Mail list logo