After I upgraded by jquery library from 1.6.2 to 1.9.1 (latest from jquery's web site) I have a simple piece of code that does not seem to be firing when the document is loaded:
$(document).ready(function () {
$('#testinputhide').hide();
});
I want this function to hide some elements, and the #testinputhide is the id to an input element for testing purposes. I tried adding:
alert("message");
to test whether or not the function was being executed and it did not seem to be. Here are my script includes:
<link rel="stylesheet" href="/Content/themes/smoothness/jquery-ui-1.10.3.custom.css" /> <script src="/Scripts/jquery-1.9.1.js" type="text/javascript"></script> <script src="/Scripts/jquery-ui-1.10.3.custom.js" type="text/javascript"></script>
Any guidance would be much appreciated, as I am baffled as to why this would not work anymore.
Thanks in advance!

New Topic/Question
Reply



MultiQuote



|