Welcome Guest, Not a member yet? Register   Sign In
How to inlucde external javascipt libraries
#1

[eluser]Unknown[/eluser]
I have a web page which needs to include external javascript libraries. I have downloaded them and include in the php->libraries folder. My application is hosted in openshift cloud. I want to include those javascript files in my php file. I have used this code

script src="../../libraries/dhtmlxCalendar/dhtmlxCalendar/codebase/dhtmlxcalendar.js">

But it is not working

then I tried

script type="text/javascript" src="<?php echo base_url();?>js/jquery.js" >

The base url gives me the url but it is also not working.

What is the correct way for this ? I am a beginner for codeigniter. Could you help me


Messages In This Thread
How to inlucde external javascipt libraries - by El Forum - 08-20-2013, 11:44 AM
How to inlucde external javascipt libraries - by El Forum - 08-20-2013, 11:57 AM
How to inlucde external javascipt libraries - by El Forum - 08-20-2013, 12:02 PM
How to inlucde external javascipt libraries - by El Forum - 08-20-2013, 12:07 PM
How to inlucde external javascipt libraries - by El Forum - 08-20-2013, 07:21 PM
How to inlucde external javascipt libraries - by El Forum - 08-23-2013, 10:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB