how to handle any javascript load finished event using jquery -
I have a blog I am putting Yahoo pipe. I have to remove the Yahoo pipe icon after the script loads. The script is here >>
& lt; Script src = "http://l.yimg.com/a/i/us/pps/listbadge_1.1.js" & gt; {"Pipe_id": "24f8f6a880eb3be0711d541", "_btype": "list", "width": "100%", "hideHeader": true} & lt; / Script & gt;
My code is here
$ ("script [src = http: //l.yimg.com/a/i/us/ Pps / Listbadge_1.1.js] "). Load (function () {$ (".jbf"). Hide ();});
but it does not work
How to complete the script load?
Something like this should be done. / P>
$ ("for loading dome items to scrap"). Load ("http://l.img.com/a/i/us/pps/listbadge_1.1.js", {"Pipe_id": "24f8f6a880eb3be0711d541", "_btype": "list", "width": "100%", "hideHeader": true}, function () {$ (".Ybf"). Hide ();}); );
Look under examples:
Comments
Post a Comment