Hey guys I'm a noob to jquery and I've heard it's okay to mix jquery with pure javascript, but I'd like to know if that is what's causing the following code not to work or is it something else that I'm doing wrong?
var fnd_child = $('#thumb_slider').children().length;
$(document).ready(function(){
$('#basic_div').innerHTML = fnd_child;
});
Nothing happens in in basic_div... it's just empty. I've even tried attaching this function to a button but still nothing happens. I just need to know how many children are in basic_div and then print that number out on the screen. Thanks!