Welcome Guest, Not a member yet? Register   Sign In
ajax, jquery problem
#5

[eluser]InsiteFX[/eluser]
Try
Code:
url: '<?php base_url(); ?>index.php/message/sam',

Or the way I do it, replace the $ in script tags with s
Code:
<head>
<$cript type="text/javascript" charset="utf-8">
  //&lt;![CDATA[
   var base_url = "&lt;?php echo base_url(); ?&gt;";
   var site_url = "&lt;?php echo site_url(); ?&gt;";
  // ]]>
</$cript>
&lt;/head&gt;

url: base_url+'index.php/message/sam',


Messages In This Thread
ajax, jquery problem - by El Forum - 12-18-2012, 09:01 AM
ajax, jquery problem - by El Forum - 12-19-2012, 03:32 AM
ajax, jquery problem - by El Forum - 12-19-2012, 05:20 AM
ajax, jquery problem - by El Forum - 12-28-2012, 12:54 PM
ajax, jquery problem - by El Forum - 12-28-2012, 02:04 PM
ajax, jquery problem - by El Forum - 12-28-2012, 02:12 PM
ajax, jquery problem - by El Forum - 12-28-2012, 02:20 PM
ajax, jquery problem - by El Forum - 12-30-2012, 05:54 AM
ajax, jquery problem - by El Forum - 12-30-2012, 07:33 AM
ajax, jquery problem - by El Forum - 12-30-2012, 08:28 AM
ajax, jquery problem - by El Forum - 12-30-2012, 09:15 AM
ajax, jquery problem - by El Forum - 12-30-2012, 11:46 AM
ajax, jquery problem - by El Forum - 12-30-2012, 03:09 PM
ajax, jquery problem - by El Forum - 12-31-2012, 03:44 AM
ajax, jquery problem - by El Forum - 12-31-2012, 03:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB