Including Javascript files |
[eluser]Alhazred[/eluser]
[quote author="Near" date="1341916102"]are you sure this link is correct? http://localhost/js/check.js should it be http://localhost/application/js/check.js[/quote] Yes, I'm sure, as suggested all over the websites I've checked, I put my static contents such as javascript, css and image inside my site's root, so at the same level as index.php, so the first link is correct. By the way, I've solved the problem changing my htaccess as said above. |
Messages In This Thread |
Including Javascript files - by El Forum - 07-09-2012, 07:46 AM
Including Javascript files - by El Forum - 07-09-2012, 09:53 AM
Including Javascript files - by El Forum - 07-09-2012, 09:56 AM
Including Javascript files - by El Forum - 07-09-2012, 10:01 AM
Including Javascript files - by El Forum - 07-09-2012, 10:08 AM
Including Javascript files - by El Forum - 07-09-2012, 10:16 AM
Including Javascript files - by El Forum - 07-09-2012, 11:50 AM
Including Javascript files - by El Forum - 07-09-2012, 12:47 PM
Including Javascript files - by El Forum - 07-10-2012, 03:28 AM
Including Javascript files - by El Forum - 07-10-2012, 05:51 AM
Including Javascript files - by El Forum - 07-10-2012, 08:13 AM
Including Javascript files - by El Forum - 07-10-2012, 08:59 AM
|