I am trying to save one report by clicking on button, it is working on IE 9 and IE 10 but not working on IE11 and Chrome. below is my On-click function
function SaveReport(thisUser)
{
thisFormList = opener.document.getElementById("hiddenFormList").value;
thisSortWhere = opener.document.getElementById("hiddenSortWhere").value;
if ( thisFormList == "" && thisSortWhere == "")
{
alert("Enter the criteria and click -Find- first");
return false;
}
}
My HTML code
<td align="center" style="padding-bottom:10px;"> New Report Name:
<input type="text" name="newReport" size="50" maxlength="50">
<input type="button" name="SaveReportBtn" `enter code here`
value="Save" onclick="SaveReport('#Client.USERNAME#');" style="width:60px;">