PDA

View Full Version : jQuery selectors not working?



hds272
31 Jul 2009, 11:24 AM
I have the following jQuery code to try and shift about_sheet right when about_tab is clicked. I used alert($) to confirm jQuery is working, and have also chosen another random div and tried to hide it, which also failed leading me to believe that the issue lies in the selectors.

Here is the code:

<script type="text/javascript">
$(function() {

$("#about_tab").click(function() {
$("#about_sheet").animate({"left" : "300px" }, 4000);
});


});

</script>

Thanks,
Hugh