Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain how to include js in magento?



Explain how to include js in magento?..

Answer / Vandna

To include JavaScript in Magento, you can use the following methods:n1) Static Block: You can add your JavaScript URL in a static block and call it on your CMS or custom page.n2) Layout XML: You can add your JavaScript file reference to the layout XML of the desired page.n3) Custom Module: Create a custom module, declare the JS file under the 'view/frontend/web' directory, and register it in di.xml.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Magento PHP Interview Questions

Is magento free?

1 Answers  


What are the limitations of magento?

1 Answers  


What are the different versions of magento?

1 Answers  


How do I manually install an extension in magento 2?

1 Answers  


Is it possible to have more than one grid in magento?

1 Answers  


Which is better woocommerce or magento?

1 Answers  


How much is magento cloud?

1 Answers  


Is magento cloud based?

1 Answers  


How we can get current url in magento?

1 Answers  


What is magento integration?

1 Answers  


what technology does Magento use?

1 Answers  


What are the unique advantages of magento mvc architecture when building a site?

1 Answers  


Categories