Why this input tag does not work Chrome browser :
asp.net code :
<td><input type="button" value="Go" class="btn" style="width: 40px; color:black;font-weight:normal;" onclick="return getPSAP();" ></td>
we used JavaScript method
window.navigate("MenuDisplay.aspx");
please find :getPSAP() function
function getPSAP()
{
var obj = document.getElementById("table_data");
var str = document.getElementById("<%=txtSAPPCode.ClientID%>").value;
if (str == "") { return; }
if (str == "0")
{
window.navigate("Menu.aspx");
return;
}
for (var i = 0; i < obj.rows.length; i++)
{
if (obj.rows[i].cells[0].innerHTML == str)
{
window.navigate(obj.rows[i].cells[1].innerHTML);
return;
}
}
alert('You are not Authorised to view the same.')
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.