I have a application on VB.net and Java script, that is working fine in IE in compatibility mode but not working on Chrome.As i opened developer tool is shows messages like;
Uncaught NoModificationAllowedError: Failed to set the 'innerText' property on 'HTMLElement': The 'input' element does not support text insertion. TravelPolicy.aspx?PlanType=Individual:1783
captureEvents() is deprecated. This method doesn't do anything.
releaseEvents() is deprecated. This method doesn't do anything.
Uncaught NoModificationAllowedError: Failed to set the 'innerText' property on 'HTMLElement': The 'input' element does not support text insertion. TravelPolicy.aspx?PlanType=Individual:1905
This is my aspx page
<%@ Page Language="VB" AutoEventWireup="false" EnableEventValidation="false" CodeFile="TravelPolicy.aspx.vb"
Inherits="Products_Travel_CODE_TravelPolicy" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Import Namespace="System.Data" %>
<%@ Register Assembly="RJS.Web.WebControl.PopCalendar, Version=10.0.2512.14064, Culture=neutral, PublicKeyToken=815cf5007f7d0455"
Namespace="RJS.Web.WebControl" TagPrefix="rjs" %>
<%@ Register Assembly="RJS.Web.WebControl.PopCalendar" Namespace="RJS.Web.WebControl"
TagPrefix="rjs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/Controls/wucAddress.ascx" TagName="wucAddress" TagPrefix="uc1_Cust" %>
<%@ Register Src="~/Controls/wucTravelAddress.ascx" TagName="wucTravelAddress" TagPrefix="uc1_Cover" %>
<%@ Register Src="~/Controls/wucHypothecationAddress.ascx" TagName="wucHypothecationAddress"
TagPrefix="uc2" %>
<%@ Register TagPrefix="mbclb" Namespace="MetaBuilders.WebControls" Assembly="MetaBuilders.WebControls.CheckedListBox" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Untitled Page</title>
<link href="../../../App_Themes/REL/Style.css" type="text/css" rel="stylesheet" />
<link href="../../../App_Themes/Verification/Style.css" type="text/css" rel="stylesheet" media="all" />
<script type="text/javascript" src="../../../Script/print.js"></script>
<%-- Added Later as u suggest--%>
<link rel="stylesheet" type="text/css" href="/admin/css/navigation.css" />
<script language="vb" runat="server">
<System.Web.Services.WebMethod()> _
Public Shared Function CheckPassportForBlackList(ByVal pass1 As String, ByVal pass2 As String, ByVal pass3 As String, ByVal pass4 As String, ByVal cookie As String) As String
Dim ConsPassPort As String = ""
If pass1 <> "" Then
ConsPassPort = ConsPassPort + pass1 + ","
End If
If pass2 <> "" Then
ConsPassPort = ConsPassPort + pass2 + ","
End If
If pass3 <> "" Then
ConsPassPort = ConsPassPort + pass3 + ","
End If
If pass4 <> "" Then
ConsPassPort = ConsPassPort + pass4 + ","
End If
Dim ChkVal As String = ""
If ConsPassPort <> "" Then
ConsPassPort = ConsPassPort.Substring(0, ConsPassPort.Length - 1)
'Dim Momobj As New BlockedPassportStatusClient
'Dim response As New Res_PassportDC
Dim objComFun As New CommonFunctions
Dim message As DataTable = New DataTable
Try
'response = Momobj.StatusOfMultiBlockedPassport(ConsPassPort)
'message = response.DtPassport
message = objComFun.GetPassportBlockedStatusMultiple(ConsPassPort)
Catch ex As Exception
ChkVal = ex.ToString
Return ChkVal
End Try
If message.Rows.Count > 0 Then
If message.Rows(0)(1).ToString().ToLower() = "true" Then
ChkVal = "This Passport Number " + message.Rows(0)(0) + " is blocked.You can not issue Policy"
End If
End If
If message.Rows.Count > 1 Then
If message.Rows(1)(1).ToString().ToLower() = "true" Then
ChkVal = ChkVal + "This Passport Number " + message.Rows(1)(0) + " is blocked.You can not issue Policy"
End If
End If
If message.Rows.Count > 2 Then
If message.Rows(2)(1).ToString().ToLower() = "true" Then
ChkVal = ChkVal + "This Passport Number " + message.Rows(2)(0).ToString() + " is blocked.You can not issue Policy"
End If
End If
If message.Rows.Count > 3 Then
If message.Rows(3)(1).ToString().ToLower() = "true" Then
ChkVal = ChkVal + "This Passport Number " + message.Rows(3)(0) + " is blocked.You can not issue Policy"
End If
End If
End If
Return ChkVal
End Function
</script>
<script type="text/javascript" language="javascript">
function checkTextAreaMaxLength(textBox,e, length)
{
}
More java script functions
</script>
<script type="text/javascript" src="../../../Script/help.js"></script>
<script type="text/javascript" src="/admin/js/textbox.js"></script>
<%-- Added Later as u suggest--%>
</head >
</html>
Please help to fix this.