Pretty sure that you have to create a new .live() event for your
expected class.  So, you would need to do:

 $(".newClass").live("mouseover", function(){
    //clickable function here......
    ------------------------
    });

On Jul 5, 12:30 am, Sanam <kcssm2...@gmail.com> wrote:
> Hello,
>      I got this problem with live() event.I have used it as  follows.
>
>     $(".addressDiv span").live("mouseover", function(){
>     //clickable function here......
>     ------------------------
>     });
>
> I have used the live() event to trigger the function on mouseover in
> the dynamically added elements. But the problem i got is that once the
> live event is called it takes the class of the element and stores. And
> when the class of that particular element is changed dynamically the
> live() event does not detect the new classed added dynamically,
> instead it takes the former class. Live() event does not update the
> class.  How can I solve this problem?
>
> Sanam

Reply via email to