0

I need to change object param value when I click on a link, using jquery. I tryed these solutions, but they don't work in ie:

$('a.link-video').live('click',function(){
    $('.object-video', $(this).parent().parent()).param({name : 'flashvars', value : 'pathFile=' + $(this).attr('href')});
    return false;
});

and

$('a.link-video').live('click',function(){
    $('.object-video param[name="flashvars"]', $(this).parent().parent()).attr('value', $(this).attr('href')});
    return false;
});

How can i do?

Thanks, Mattia

pindol
  • 2,110
  • 6
  • 35
  • 52

0 Answers0