<script type="text/javascript">
$('#footer').css('top', $('#text').outerHeight() + 125 + 'px');
</script>
Using jquery, but always get an error at line 1 char 2 if i check it in jslint.
Any idea?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
scripttags are not part of the JavaScript. JSLint is for processing just JavaScript text. You only use it on this bit:JSLint will allow you to post HTML pages with embedded script tags in them, but you have to post more than just the script tags. For instance, it’s okay with this:
…other than not liking the fact that I haven’t defined
$(just because I threw that together).