append jquery to get full url

append jquery to get full url

I have an href tag which is basically in usercontrol 
...../get.ashx?id="+id+"& "edit="+ a.edit ;

But when I call this like window.aspx?url="+u.attr("href") it is giving only window.aspx?url=...../get.ashx?id="+id 
I need to have the edit query string also. Without that I am getting error(Of course it will come)

I think I gave you enough description of my prob. Is there any way that I can append to the u.attr("href").  Please help me and it is urgent.

Thanks