I have the following code
$(".reply").toggle
(
function ()
{
x1();
},
function ()
{
x2();
}
);
I need to use live
, so new elements would also be bound. Is there some syntax to do it? Or will I need to implement a toggle
on the click
event?
I am using jQuery 1.4.2.