Results 1 to 2 of 2

Thread: Forms don't seem to work in Firefox

  1. #1
    Join Date
    Nov 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Forms don't seem to work in Firefox

    Hi everyone,

    Forms don't seem to work in Firefox when using the DD AJAX toolkit.
    Script URL (on DD):

    http://www.rcntech.com/development/ajaxcars.asp

    If you test the link above with IE works as it is supose to, however it doesn't display any elements withing the <form> tags in Firefox.

    By the way, I am loading the page using the DD AJAX toolkit, if you call the ASP directly in Firefox then it works fine, but that's not what I am trying to achieve.

    http://www.rcntech.com/development/login.asp

    I am having a hard time to find the answer to it, please advise.

    Thank you in advance.
    Last edited by ajaxdude; 12-13-2006 at 05:53 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You cannot use invalid markup and expect all browsers to be able to decipher it once it has been parsed through the script's innerHTML object which expects valid HTML - from your login.asp page's source as seen by FF when the login.asp page was opened directly (without ajaxcars.asp):

    Code:
    			<td width="2" class="THHeader"><img src="images/clear.gif" width="1" border="0"></td>
    
    			<form name="registeredshopper" method="POST" action="javascript:ajaxpage('verifyshopper.asp?dest=&regtxtemail=' + this.registeredshopper.regtxtemail.value + '&txtregpassword=' + this.registeredshopper.txtregpassword.value, 'content');ajaxpage('include/top_nav.asp', 'header');">
    			
    			<td width="380" valign="top" class="PlainTextBlackBackground">
    				<center>
    				<table width="85%" cellpadding="0" cellspacing="0" border="0">
    				<tr><td class="PlainTextBlackBackground">Email Address</td></tr>
    				<tr><td><input type="text" name="regtxtemail" size="40,1" maxlength="60" value=""></td></tr>
    				<tr><td class="PlainTextBlackBackground">
    				<br>
    
    				Password</td></tr>
    				<tr><td><input type="password" name="txtregpassword" size="15" maxlength="10" value=""></td></tr>
    				<tr><td><br><input type="Image" value="continue" src="images/btn-continue.gif" border="0" alt="continue"></td></tr>
    				</table>
    				</center>
    				<br>			
    				<ul>
    				Forget your password ?<br>
    
    				Click <a class="allpage" href="javascript:ajaxpage('emailpassword.asp', 'content');">here</a> to have password emailed to you.
    				</ul>
    				</td>
    			</form>
    In the above, for example, you have an opening and a closing form tag inside a table but neither one is in a table cell.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •