javascript - jQuery .load, with specific class not working -
i'd use .load add button, exists on page, each cell on website.
let's looks this:
lalalala videooooo here wop wop wop wop
and of links. if go each link, example "lalalala", you'd go page looking this:
info here, blabla. lala
so, tried use:
$(".mainpart").append("magnet: <div id='magneturl'>loading download buttons..</div>"); $("#magneturl").load("zoo-s01e04-hdtv-x264-lol-ettv-t10975316.html");
but if use:
$(".mainpart").append("magnet: <div id='magneturl'>loading download buttons..</div>"); $("#magneturl").load("zoo-s01e04-hdtv-x264-lol-ettv-t10975316.html .magnetlinkbutton");
it print magnet:
i hope make kind of sense post.
the line
$("#magneturl").load("zoo-s01e04-hdtv-x264-lol-ettv-t10975316.html .magnetlinkbutton");
is trying fetch content of page , filter applying jquery selector .magnetlinkbutton
. judging image posted, file loading not html page json; or maybe html, doesn't have element class="magnetlinkbutton"
.
if trying read property .magnetlinkbutton
json text, i'd suggest looking .getjson() instead.
Comments
Post a Comment