problem in managing tabs.

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

problem in managing tabs.

Post by itsmani1 »

See this code i have problem in tabs management, when i use tab key it works horizontally means 1st I moves to top left field then goes to top right field in same row I want it to work it in vertical order like first top left and then 2nd field in the same column and so on.

Code: Select all

<form name="form1" method="post" action="">
  <table width="100%" border="0">
    <tr>
      <td><input type="text" name="textfield"></td>
      <td><input type="text" name="textfield4"></td>
    </tr>
    <tr>
      <td><input type="text" name="textfield2"></td>
      <td><input type="text" name="textfield5"></td>
    </tr>
    <tr>
      <td><input type="text" name="textfield3"></td>
      <td><input type="text" name="textfield6"></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input type="submit" name="Submit" value="Submit"></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>
</form>
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

you'll need to change the layout of your table

Something like:

Code: Select all

<table>
 <tr>
  <td>
   form field<BR>
   form field<BR>
   form field<BR>
   form field<BR>
   form field<BR>
   form field<BR>
   form field<BR>
  </td>
  <td>
   form field<BR>
   form field<BR>
   form field<BR>
   form field<BR>
   form field<BR>
   form field<BR>
  </td>
 </tr>
</table>
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

Post Reply