Welcome Guest, Not a member yet? Register   Sign In
Jquery + file upload problems
#2

[eluser]InsiteFX[/eluser]
You can try including this code in your html head section, it will create a variable with the CodeIgniter base_url that you have set in application/config/config.php

Now you can use base_url in js scripts, repalce the $ with s in the script tags.
Code:
<$cript type="text/javascript">
    //&lt;![CDATA[
        var base_url = '&lt;?php echo base_url();?&gt;';
    //]]>
</$cript>

InsiteFX


Messages In This Thread
Jquery + file upload problems - by El Forum - 03-22-2011, 12:37 PM
Jquery + file upload problems - by El Forum - 03-22-2011, 01:41 PM
Jquery + file upload problems - by El Forum - 03-22-2011, 02:03 PM
Jquery + file upload problems - by El Forum - 03-23-2011, 02:45 AM
Jquery + file upload problems - by El Forum - 03-27-2011, 05:21 PM
Jquery + file upload problems - by El Forum - 03-27-2011, 05:56 PM
Jquery + file upload problems - by El Forum - 03-27-2011, 10:35 PM
Jquery + file upload problems - by El Forum - 03-28-2011, 01:03 PM
Jquery + file upload problems - by El Forum - 03-28-2011, 02:08 PM
Jquery + file upload problems - by El Forum - 03-29-2011, 06:24 AM
Jquery + file upload problems - by El Forum - 03-29-2011, 08:30 AM
Jquery + file upload problems - by El Forum - 03-29-2011, 08:31 AM
Jquery + file upload problems - by El Forum - 03-29-2011, 12:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB