Click here to Skip to main content
15,939,243 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi

my jquery code is

XML
<script type="text/javascript" src="js/jquery.js" ></script>
<script type="text/javascript" src="jqtransformplugin/jquery.jqtransform.js" ></script>
<script language="javascript" type="text/javascript">

$(function() 
{   
$(form&).jqTransform({ imgPath: 'jqtransformplugin/img/' });


   });


it is working fine before postback,but when after postback the styles are missing.plese help me
Posted
Updated 15-Jul-12 20:58pm
v2
Comments
Sandeep Mewara 16-Jul-12 3:00am    
Are you adding style files at runtime?

1 solution

put your jquery in pageload() fuction. bcoz after partial postback(AJAX) jquery doesnot call..

function pageLoad(sender, args)
    {
$(function() 
{   
$(form&).jqTransform({ imgPath: 'jqtransformplugin/img/' });
 

   });
}
 
Share this answer
 

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