This question is locked. New answers and comments are not allowed.
I am having an interesting issue with accessing the controls on a page. Below is the code in question:
In IE 8, the alert displays an Object. In both Chrome 11 and Firefox 3.6.9, the alert displays 'undefined'. My includes in the header file are shown below:
Any ideas what might cause this behavior?
Thanks in advance.
-Darren
@section HeadContent{ <script> $(document).ready(function () { // Disable the fields on load var ld = $('#LandingDate').data('tDatePicker'); alert(ld); // Other Controls Omitted for brevity . . . });
</script> }
In IE 8, the alert displays an Object. In both Chrome 11 and Firefox 3.6.9, the alert displays 'undefined'. My includes in the header file are shown below:
@Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group.Compress(true).Add("telerik.common.css").Add("telerik.outlook.css"))<script src="@Url.Content("~/Scripts/jquery-1.5.1.js")" type="text/javascript"></script>Any ideas what might cause this behavior?
Thanks in advance.
-Darren