Home Discussion Discuss: JavaScript method createElement()

  • changing tBodies(0) to tBodies[0]1bung100 September 30, 2011 at 2:21 PM

    By changing the attribute name='a' to id='a', this code works in Safari. But so as to work on mozilla firefox i changed tBodies(0) to tBodies[0] and also i included the tag <tbody> as: <table id="t" border="1"> <tbody> <tr><th>Employee Name</th></tr> </tody> </table>

  • commentpeter gade October 10, 2011 at 10:45 AM

    a very good example

  • Tankssaeb panahifar May 12, 2012 at 8:54 PM

    tank you for this text

  • ErrorNaved Ahmed June 20, 2012 at 5:01 PM

    I've got this error: Timestamp: 20/06/12 5:00:32 PM Error: The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must to be declared in the document or in the transfer protocol. Source File: http://localhost/workspace/createElement.html Line: 0

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
DMCA.com