Javascript Runtime error: $ is undefined

asp.net, javascript, jquery

Solution

`$` 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>

Problem

I have added script in my Default.aspx page. I am getting following error.

Original source