Developing for Javascript, how to include an external JS file in a Bootstrap template?


0 votes
asked Mar 16, 2016 by palmateer (250 points)
I am confused in this. I am trying to use Bootstrap template for website I am building, but in one page I want to include JS file, because I have build there funcionalities I need for my application.

4 Answers

0 votes
answered Apr 2, 2016 by florencio_a (510 points)

Firstly, you will need to include the Mootools code in your extension. There are two ways to include a Java Script file using the Joomla.
You can also take a look at this module for angular https://docs.joomla.org/Adding_JavaScript
0 votes
answered May 11, 2016 by itAronson (200 points)

You could include one of two files, Post Back True.
At my job, we keep most of our CSS in a single file.
Create a function in Java Script Helper to include your Java Script file.

You can check it out at Managing Your JavaScript Library in ASP.NET - CodeProject
commented May 11, 2016 by westrom (950 points)
Documentation may not look as expected in this version of Internet Explorer
commented May 11, 2016 by Of_Jerrel (630 points)
Here i have sent you a pic where i describe details of chrome debugging
+1 vote
answered May 23, 2016 by Bs_Not (1,000 points)
But you can do very powerful things with this feature, see external script file - W3Schools Online Web Tutorials for examples
Eclipse shows an error on android project but can find the error
commented May 24, 2016 by This_deg (220 points)
Nobody tried this simple thing. Hope it works for you guys
0 votes
answered May 24, 2016 by Vzc4490 (200 points)
This really depends upon your situation
You might want to read Getting started Bootstrap

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...