I am very new to javascript, and written a program that will open a querystring as link.
I used window.open() , but the link is opening in new tab,
I want to open this link in the same tab.
The code is below.
var strquerystring;
if(fromvalue==""||tovalue==""){
alert('kindly fill all the details');
}else{
window.open(strquerystring);
}