In Javascript u can Get URL of Current Location as window.location(); assign to var winLoc; U Can Get WinLoc as www.test.net/Add.aspx?fsrno=3 Now Find the Find THe IndexOf "=" in Above String because this is unique and Split string as subString after position "=" THen U can Get QueryString
Hard To Say