Your $.ajax example is not correct. This line:
data:"url="+url,num="+num, does not make sense and I'm surprised it's not throwing an error. Try changing it to: data:{url:url,num:num}, Mike On 6/16/07, joomlafreak <[EMAIL PROTECTED]> wrote:
I wonder if this is normal I am sending a url to server in query string. If I use $.get, like this $.get(queryfile,{url:url,num:num},function(output){ ... }); the url is encoded as it is sent. BUT if I use $.ajax({ type:"GET", url:queryfile, data:"url="+url,num="+num, success:function(output){ .... } }) the url as it is sent is not encoded. Am doing something basic wrong here??