Welcome Guest, Not a member yet? Register   Sign In
URI Problem with Ajax and jQuery
#3

[eluser]pickupman[/eluser]
You could had a <base> tag to your header, and use jQuery to get the href attribute.
Code:
<base href="<?php site_url();?>" />

//jQuery
var base_url = $("base").attr("href");


Messages In This Thread
URI Problem with Ajax and jQuery - by El Forum - 04-28-2010, 10:38 AM
URI Problem with Ajax and jQuery - by El Forum - 04-28-2010, 06:16 PM
URI Problem with Ajax and jQuery - by El Forum - 04-28-2010, 08:26 PM
URI Problem with Ajax and jQuery - by El Forum - 04-28-2010, 09:36 PM
URI Problem with Ajax and jQuery - by El Forum - 04-28-2010, 09:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB