thanks. I solved my blem. I can put it directly in the HeaderHead.ftl file or in a special .ftl and call it from HeaderHead.ftl
thanks 2013/9/26 Taher Alkhateeb <[email protected]> > Hi Antony, > > The best way i can think of is to put this code snippet in an FTL file, > this would make your program more modular and reusable anyway. > > Taher > On Sep 26, 2013 3:52 PM, "Antony Adopo" <[email protected]> wrote: > > > Hello, > > > > Please could someone help me include this raw code on xml file > > "CommonScreens.xml" on ecommerce app.: > > > > <script type="text/javascript"> > > $(document).ready(function () { > > $('.dropdown-toggle').dropdown(); > > }); > > </script> - > > > > I saw an example : > > > > <set field="layoutSettings.javaScripts[+0]" > > > > > value="/images/jquery/plugins/datetimepicker/jquery-ui-timepicker-addon-1.0.5.js" > > global="true"/> > > > > but this is only for pointing some file . Me I want to include raw java > > script code > > > > thanks > > > > Antony > > >
