Patsjoelie Posted December 6, 2010 Share Posted December 6, 2010 Hi all ... I'm trying to use the jqtransform plugin to style form elements. In the footer.tpl added: <script type="text/javascript"> $(function() { $("form.jqtransform").jqTransform(); }); </script> However, when i view the source code in my browser (FF & Safari) i see the actual function is removed: <script type="text/javascript"> $(function() ); </script> The references in <head> to the *.js files are correct. Any ideas on this? Thanks for you help! Have a great day, Pat. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted December 6, 2010 Share Posted December 6, 2010 (edited) Try it this way <script type="text/javascript"> {literal} $(function() { $("form.jqtransform").jqTransform(); }); {/literal} </script> Edited December 6, 2010 by sparky 0 Quote Link to comment Share on other sites More sharing options...
Patsjoelie Posted December 6, 2010 Author Share Posted December 6, 2010 Hi Sparky, Thanks for your help! It worked by adding {literal} Pat. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.