Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My jquery date picker is worked in 1st page only of my MVC4 Mob app.


XML
<input type="text" id="datepicker"   name="datepicker" style="width:100px;float:left;"/>


<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>

<script>
$( "#datepicker" ).datepicker();
</script>



I added the same code in 2nd navigated page,but got the following error


Unhandled exception at line 611, column 4 in http://localhost:64431/Scripts/jquery-1.7.1.js

0x80020101 - Could not complete the operation due to error 80020101.

C#
( window.execScript || function( data ) {
                window[ "eval" ].call( window, data );
            } )( data );
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900