News:

Choose a design and let our professionals help you build a successful website   - ITAcumens

Main Menu

Table - aabr - JavaScript DHTML

Started by VelMurugan, Apr 07, 2009, 05:48 PM

Previous topic - Next topic

VelMurugan

'abbr' Example

<html>
<head>
<script language="JavaScript">
function function1() {
    document.all.myTableHeader.abbr = "Abbreviation";
}
</script>
</head>
<body onLoad="function1();">
<table width="428">
    <th id="myTableHeader" colspan="2">This is the table heading </th>
    <tr>
        <td> Cell 1 content </td>
        <td> Cell 2 content </td>
    </tr>
    <tr>
        <td> Cell 3 content </td>
        <td> Cell 4 content </td>
    </tr>
</table>
</body></html>


Source : java2s