i have two DropDowns:
DdlState and DdlCity,
And I Provide Special Design and working to both of them using java script and css,
and After Selection Of state,
the Ddlcity DropDown is bind,
It work fine,
But Now problem is:
i use update panel,
to avoid page refresh( when city bind according to state),
After this city Bind Correctly but My DropDown "Style And Special Working Is Stop Working",
so I thing i need to again call the java script and css, which i put at page Load,
So how can I call these java script at Dropdown Bind,
The Script are:
<script src="ServerJs_and_css/min_1.7.1.js" type="text/javascript"></script>
<script src="DropDownNew_jquery/chosen.jquery.js" type="text/javascript"></script>
<link href="DropDownNew_jquery/chosen.css" rel="stylesheet" type="text/css" />
Problem 2:
i face The same Problem When:
I have a image Slider Which bind Accroding to Dropdown,
And When I use Update Panel And Then Select Dropdown to bind image slider jquery,
Then Data are came Properly but
Image slider Stop Working,
This time Java script are:
<script type="text/javascript">
function mycarousel_initCallback(carousel) {
carousel.buttonNext.bind('click', function () {
carousel.startAuto(0);
});
carousel.buttonPrev.bind('click', function () {
carousel.startAuto(0);
});
carousel.clip.hover(function () {
carousel.stopAuto();
}, function () {
carousel.startAuto();
});
};
jQuery(document).ready(function () {
jQuery('#mycarousel').jcarousel({
auto: 2,
wrap: 'last',
initCallback: mycarousel_initCallback
});
});
</script>
So plz Help me, What Can i do,
If You have Any Confusion About Question, Then Plz Comment, I Will try to improve it