IE shows run time error for innerHTML

后端 未结 9 2090
谎友^
谎友^ 2020-12-11 09:54

I have a jsp page in which rows are created dynamically to a table using java script. It is working fine in all the browsers except IE. In IE it is showing the error Unknown

9条回答
  •  情歌与酒
    2020-12-11 10:11

    I have created a script through which you can add inner tables into a column of the table.

    I have used the concepts of @DragonPrince and @Bui Cuong for devoloping my answer.

    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    
    
    
    
    Insert title here
    
    
    
    
    
    
    
    
    old table row 1 column 1
    old table row 2 column 1
    Add table

    Check it. Currently its just simply adding a inner table only. You can modify it so that you will be able to make it as you want.

    Check the following detailed answer.

    Body part

          
    
    
    
    
    Add Multiple Companies
    <%-- table in which entire body content is written --%>

    Add Company

    Comany Details

    Company ID   

     

    Company Name    

    Address    

    Phone Number    

    Fax Number    

    E Mail    

    Web Site    

       

    Product Type    

    Description    

         
    Add product
    Add Company
     

    Scripts

    
    

提交回复
热议问题