Can you please help.
I have JavaScript code on my master page and its working fine in visual studio and its also running fine on another production server . However its not working on the 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 already set permissions on the Application folder for IUSR and IIS_IUSRS users. I will appreciate any help.
Thanks,
You're not loading jquery. Try adding this script to the beginning.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.