473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

FireFox issue when re-writing a form using Ajax

1
Hi Everyone,

I'm facing a unique problem when testing with FireFox (at least, I think its unique). Here is the situation:

I have a page setup that looks like this:

Expand|Select|Wrap|Line Numbers
  1. <form id="abcForm">
  2. <div id="abcDiv">
  3. HTML TABLE HERE WITH FORM FIELDS AND SUCH.
  4. </div>
  5. <div id="someDiv">
  6. some content and other form fields
  7. </div>
  8. </form>
When I use Ajax to clear then place new contents inside the <div abcForm> FireFox no longer reads the form data within this div...as if it is was erased.

Please note that other form fields that were not replaced using Ajax (for exmaple, <div someDiv> above, firefox still reads these fields just fine.

So, why would FireFox get confused when I replace part of the Form with some new fields? The div still has the same ID. All that changed is some html and form fields.

Thank you in advance for any advice
AWI
Aug 19 '07 #1
2 1404
gits
5,390 Expert Mod 4TB
hi ...

welcome to TSDN ...

you may use FF javascript-console to debug that problem ... or better the firebug-extension that you may download and install for it. at first have a look at the js-console and tell us if there are errors. i think there may be something wrong with the markup that you put in the div?

otherwise we would need more info ... what is exactly in the div and with what do you replace that ... what methods do you use for that?

kind regards
Aug 19 '07 #2
pbmods
5,821 Expert 4TB
Heya, awi. Welcome to TSDN!

I think you're a little confused. AJAX is used to send HTTP requests without leaving the current page. You use DOM methods to alter the structure of an existing page.

For more information, see this article.
Aug 20 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Tony Carnell | last post by:
Hi, Here's a conundrum that I hope someone out there can help me solve. I've created a page to XHTML 1.0 Transitional / CSS standards using Macromedia Dreamweaver MX 2004 (and validated both...
2
by: matthewmacchia | last post by:
I believe this is a Firefox bug but I was hoping someone found a workaround. I have implemented drag and drop functionality, but if I try to drag an element from a div that happens to have a div...
3
by: David Hayes | last post by:
I've made tooltips work in Firefox*, but tooltip doesn't appear at the specified location until the SECOND time that the user passes the mouse over the location with the mouseover event. What I...
6
by: michaelzap | last post by:
I can't seem to remove some extra margin/padding from my design on this site: http://www.kyowa-usa.com/ IE displays it properly (no space between the menus and other elements and the outer...
2
by: RobG | last post by:
Why does Firefox insert #text nodes as children of TR elements? As a work-around for older Safari versions not properly supporting a table row's cells collection, I used the row's childNodes...
3
by: Olivier Verdin | last post by:
Hi, I have a page with several Textboxes and several DropDownList. When I click on a 'save' button, it creates a record in a database. The page works fine under Internet Explorer. It does...
4
by: L2XL | last post by:
I have an ASP.NET (VB) app that I created for the Windows and IE6 enviroment. When it runs under Firefox on Windows it looks similar but has some display issues. When I run it under Firefox on...
3
by: essex1028 | last post by:
When i tried to run this code: document.getElementById(aryOperands).disabled = false; document.getElementById(aryOperands).click(); In IE, the code runs fine and the check box in this...
1
by: khbasha | last post by:
Hi Guys Can somebody help me out in this because I'm struggling with this issue for the past 2 days. I can see the left column of the page width correct in the IE if the left column table = 100%...
4
by: PianoMan64 | last post by:
Hey Experts, I'm not sure how to get around this, and any help would be most greatfull. I have an issue with having a CSS menu that displays correctly in IE and not correctly in Firefox 3.0.3,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.