xml - How to load javascript on specific page only -


Possible duplicate:

How do I simply load the checkout page for the javascript file? We are using a one-page checkout. I

  & lt; Action Method = "Edge Age" & gt; Attempted to add & lt; Script & gt; Myscript.js & lt; / Script & gt; & Lt; / Action & gt;   

No success was found on checkout.xml

< P> The page frame for one page checkout is loaded in the initial operation. Try doing something like this:
  & lt; Checkout_onphone_index & gt; & Lt; Reference name = "head" & gt; & Lt; Action Method = "Ed Itam" & gt; & Lt; Type & gt; Skin_js & lt; / Type & gt; & Lt; Name & gt; JS / MyScript.js & lt; / Name & gt; & Lt; / Action> & Lt; / References & gt; & Lt; / Checkout_onepage_index & gt;   

Then place your scan directory under / JS .

Hope that helps!

Thanks, Jo

Comments