How to submit form using JavaScript

In general, a HTML form is created with a submit button. The user will press the button to submit a form. However, you may want to submit form by using Javascript. The submit() method is provided for a form object in Javascript that it is the same as clicking on Submit button. All major browsers support the submit() method. […]

By | May 7th, 2014|IT Knowledge Base|0 Comments

How to get table cell values using Javascript

A HTML table is defined with <table> tag. Each table contains <tr> tags and <td> tags. <tr> tags define rows and <td> tags define cells. The contents (table cell values) between <td> and </td> tags are the data. To get the table cell values by using javascript, the method getElementsByTagName() can be used. It can return a list of elements with input tag name. […]

By | May 7th, 2014|IT Knowledge Base|0 Comments