Reading Query String from Ajax Load

Reading Query String from Ajax Load

I have seen some examples for url reading but all are from window.location

In my case I can't use window.location.search because
I am doing an ajax load into div.
$( "#result" ).load( "service.html?param1=1&param2=2");

In this case how can I read the param1 and 2 values when I am inside service.html?