javascript - dynamically added HTML elements won't be affected by plugins ! -
there plugins such flowplayer overlay asks put "rel" attribute html element make trigger events ... problem , when create dynamically elements have rel attribute ,, won't trigger ... solution !?
you should use live()
method trigger events dynamically created elements.
example:
$('selector').live('click', function(){ // code ......................... });
Comments
Post a Comment