I need to set the height of the left sidebar, based on the height of the content. This is the error I’m getting
sidebarheight.js:1 Uncaught TypeError: Object # has no
method ‘ready’
I have jquery loaded, and a reeeeally basic few lines of js:
$(document).ready(function() {
$("#left").css({'height':($("#right").height()+'px')});
});
basic html structure
<div id="left">sidebar content</div>
<div id="right">page content</div>
see the working copy here: http://keganquimby.com/122sk
If you try this code using jQuery instead of $ it works:
Well, at least, at the URL you provided, if you exceute this code sidebar height seems to change if they are not equal.