I have a update panel which updates each 1 minutes.
In side it, I have a two input files, when I click on each one, a datepicker function is called. I include these scripts for the datepicker
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"/>
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css"/>
Also, I have this script in my head
tag
<script>
$(function () {
$("#CldrFrom, #CldrTo").datepicker();
});
</script>
The datepicker works before the update panel updates the content. but after that, It is not working anymore.
what should I do please?
Note
I already have function pageLoad(sender, args)
in one of my scripts but I don't think this could cause the problem