Hi,
I want to add a live event on a function.
My function is:

$("#family").click(function(){
    $($("#tag").val()).css("font-family", $("#family").val());
});

I've tryed to add it like this:

$("#family").live("click", function(){
    $($("#tag").val()).css("font-family", $("#family").val());
});

but I get a "$("#family").live is not a function" FireBug error. How
should I use it right?

Thank you.

Reply via email to