document.location.search

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

document.location.search

GrZeCh
Hello!
      Does someone used document.location.search to add variables to
      page address when using AJAX?

      I think this could be very usable when we use AJAX to load some
      content to our page (for example news or sub pages).

      When I try to:

            $(document.location).set('search','?something=1');
     
      or
     
            document.location.search = "?something=1";

      My page starts to refresh and I'm getting this error:

            r.getResponseHeader("content-type") has no properties

      Any idea?

Regards


_______________________________________________
jQuery mailing list
[hidden email]
http://jquery.com/discuss/