javascript - disable links, form submit action and modal popups in a cloned object jquery -
i creating site walk-trough on first signup users. chose use live elements on landing view appear more customized each user pictures. using jquery clone drawing live objects walk-through modal.
$(".dashboard_content").clone().appendto( ".t_dashboard_content" );
i need disable links, form submit action , modal popups in cloned object.solutions here resulting in target elements on original elements being disabled undesirable. leads attaining welcome.
you try everwrite link onclick event:
$('a').click(function(ev){ // global variable use enable/disable following links if(islinkdisabled) { ev.preventdefault(); return false; } return true; });
Comments
Post a Comment