As the question speaks itself I am having trouble using jQuery as even the simple functions are throwing Uncaught SyntaxError: Unexpected token ILLEGAL
on Page load and I don't have enough knowledge of jQuery to solve such problems myself.
here are the details:
Library on page head:
<script src="http://code.jquery.com/jquery-1.7.2.js" type="text/javascript"></script> <script src="http://code.jquery.com/jquery-1.7.2.min.js" type="text/javascript"></script>
jQuery popupwindow function:
<script type="text/javascript"> $(document).ready(function() { $('#<%=_btstrtTest.ClientID %>').click(function() { var NWin = window.open($(this).prop('href'), 'height=800,width=800'); if (window.focus) {<br/> NWin.focus(); }<br/> return false; }); }); </script>
FYI: I am not using ASP.Net MVC, just plain ASP.Net with C# and the head is coming from master page while the function is in Contentplaceholder
of the home.aspx
page if that helps.
Thanks