javascript - Targeting an iframe element using colorbox -


i have link displaying contents in colorbox plugin via iframe method , target specific elements inside iframe.

can't seem figure out. below at...any appreciated.

$(".thickbox").colorbox({iframe:true,width:450, height:570, title: 'form title',     oncomplete: function() {     $("#cboxloadedcontent iframe").contents().find("a.login").css("display","none");    }    }); 

i use firebug , set breakpoints can browse through dom , find path you're looking for.

break $("#cboxloadedcontent iframe")... line multiple lines, set breakpoints on each make sure know it's going wrong , debug there.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -