why doesn't work:
<div class="store" id="vframestore"> <div>http://www.youtube.com/embed/_6dpbcouklu?showinfo=0&modestbranding=1&fs=0&rel=0</div> <div>http://www.youtube.com/embed/zmr0q4jz_um?showinfo=0&modestbranding=1&fs=0&rel=0</div> </div>
js
var = $("#vframestore").children[0].html; console.log(a);
error: uncaught typeerror: cannot read property 'html' of undefined
you can following.
var = $("#vframestore").children().first().html();
or
var = $("#vframestore div").eq(0).html();