MenStink3EDD
New Member
I have a drop down list and some styles applied to it from two js files, included in head like:\[code\] <script type="text/javascript" src="http://stackoverflow.com/questions/1892893/js/functions.js"></script><script type="text/javascript" src="http://stackoverflow.com/questions/1892893/js/jquery.jqtransform.js"></script>\[/code\]All it's working great when the page is loading for the first time.But when i do an ajax request on this page the styles applied before, are lost, so i have included the js src files from the code behing like:\[code\] protected void Page_PreRender(object sender, EventArgs e){ loadJs();}private void loadJs(){ ScriptManager.RegisterClientScriptInclude(this, typeof(Page), "AlertScript", ResolveClientUrl("~/Site/js/jquery.jqtransform.js")); ScriptManager.RegisterClientScriptInclude(this, typeof(Page), "AlertScript2", ResolveClientUrl("~/Site/js/functions.js"));}\[/code\]But...it's still not working although i see in the broswer - view source that the js files are loaded correctly in the body...Do you have any suggestion?Thanks in advance.