Thanks!
That could solve my problem!
I'll keep in mind that the usability issue you mentioned above.
But I just wanted to exercise the forms with jQuery for myself ;).
Blessing,
On Jan 2, 3:36 pm, McLars <[EMAIL PROTECTED]> wrote:
> You can't assign an event to an element that does not exist yet
You can't assign an event to an element that does not exist yet, and
the "uncheckall_field" does not exist until you click the first link.
You could move the event assignment into the function that creates the
"uncheckall_field," but then you'd need to reassign the
"checkall_field" event later and
It doesn't work because whenever you insert new content into the DOM, as you
are doing when using the .html method, you must re-bind your event handlers
to any elements which are inserted.
To get around this, you could use the toggle method:
Check All
$("#checklink").toggle(
function() {
3 matches
Mail list logo