I have a button called LOOKUP, which when clicked calls a client side function that increments the nLookUp by 1 and then should open the target URL in new window. How can i accomplist this from cllient side scripting?
var nLookUp = 0
location.href = "target URL";
Here location.href will open the target URL in the same window.