Welcome Guest, Not a member yet? Register   Sign In
ajax error redirects to wrong url
#1

[eluser]adityajoshi[/eluser]
Code:
[removed]
function ajax(){
var ajaxRequest;  // The variable that makes Ajax possible!
var age = document.getElementById('author').value;
var queryString = "?age=" + age ;
var url = "http://localhost/feeders_1/index.php/blog/comment_insert/";
alert("arrived");
ajaxRequest.open("GET",url  , true);
ajaxRequest.send(null);
  }
[removed]

It redirects me to wrong url
http://localhost/feeders_1/?entry_id=4

any suggestion will be highly appreciated




Theme © iAndrew 2016 - Forum software by © MyBB