iis 8 - IIS 8 not running embedded javascript -


can please help.

i have javascript code on master page , working fine in visual studio , running fine on production server. not working on new server (in iis8).

code sample

<script type="text/javascript" language="javascript">       $(document).ready(function(){              $(document).gmediashadows();              $('.lightbox').lightbox();              $('.success').hide();             $('.unsuccess').hide();              $(".datepicker").datepicker({                         dateformat:'dd/mm/yy',                         changemonth: true,                         changeyear: true,                         showon: "button",                         buttonimage: "../images/calendar.gif",                         buttonimageonly: true,                         onselect: function() {}                 });              $(".radio-set").buttonset();             $(".jquery-button").button();                      });   </script> 

i have set permissions on application folder iusr , iis_iusrs users. appreciate help.

thanks,

you're not loading jquery. try adding script beginning.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> 

Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -