Reply
help--"tab" key doesn't work for submit button
Old 06-11-2004, 05:12 PM help--"tab" key doesn't work for submit button
Junior Talker

Posts: 3
On the webpage, I have a text field followed by a submit button. Problem occurs when I do the following steps:

1. type in the text field
2. press "tab" (then it highlights the outer boarder of the sumbit button with dotted lines)
3. press "enter"

Then I get an error message saying:
"A Runtime Error has occured,
Do you wish to Debug?
Line:0
Error: Object expected"

But if I press "tab" twice (instead of once) at step 2 stated above, then it works. Any tips on debugging this?

Thank you.
Heidi is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-11-2004, 05:22 PM
Unknown.

Posts: 1,693
If you paste the code onto here, might be able to see whats wrong and solve it

James
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 05:34 PM
Junior Talker

Posts: 3
Here's the code for the text field and the submit button:

<tr bgcolor="#F0F1F6">
<td height="30" align="right" bgcolor="#F0F1F6" class="tsbody">
<span class="tsbody">$STRING(ID): </span></td>
<td height="30"><input class="frmTxt" type="password" name="ttAuthPWD" size="35">
</td>
/tr>

<tr bgcolor="#F0F1F6">
<td height="30" align="right" bgcolor="#F0F1F6">&nbsp;</td>
<td height="30">
<input type="submit" name="Submit" value="$STRING(ENTER)">
</td>
</tr>
Heidi is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 05:46 PM
Unknown.

Posts: 1,693
Have you used an editor or written the code yourself??

-James
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 05:48 PM
Junior Talker

Posts: 3
an editor named "HTML Kit"
see anything wrong with the code itself?
Heidi is offline
Reply With Quote
View Public Profile
 
Old 06-11-2004, 05:56 PM
Unknown.

Posts: 1,693
Just the code was written weird..

But i think this should do...
Code:
<div align="right"><table border="0" height="30" bgcolor="#F0F1F6" class="tsbody">
    <tr>
        <td width="967"><p><input type="password" name="ttAuthPWD" size="35"
             class="frmTxt">&nbsp;</td>
    </tr>
</table></div>
<p align="right">&nbsp;
<div align="right"><table border="0" height="30" bgcolor="#F0F1F6" class="tsbody">
    <tr>
        <td width="967"><p>&nbsp;<input type="submit" name="Submit" value="Enter"></td>
    </tr>
</table></div>
Hope this helps

-James
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to help--"tab" key doesn't work for submit button
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12526 seconds with 12 queries