I have added script in my Default.aspx page. I am getting following error.
$ is defined by jQuery, which you probably haven't referenced. A simple way to get it is to add one of the CDN urls to your template HTML:
$
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
2.1m questions
2.1m answers
60 comments
57.0k users