473,804 Members | 2,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

FireFox issue when re-writing a form using Ajax

1 New Member
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 1434
gits
5,390 Recognized Expert Moderator Expert
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 Recognized Expert Expert
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
3706
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 with no problems). Whilst creating the page I've previewed it in IE 6, FireFox 0.8 and Opera 7.21 on my PC and the page displays perfectly (well, as perfectly as IE's implementation of CSS will allow!)
2
6385
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 with an "overflow: auto" it seems to lose the onmouseover event for my target. Anyone come across this issue and found a resolution? Please advise. Here is a link to my code.
3
5181
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 want is for the user to be able to put the mouse over text that gives a year (e.g., "(1932)", "(1946)" and "(1923)") and see the tooltip to the right and slightly beneath the year. (For the record -- this needn't concern the debugging effort --...
6
6877
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 border), but in Firefox I always end up with some space. I have tried several box model fixes (to no avail), and I'm no longer sure that's what's going on.
2
3225
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 collection as it was pretty much exactly the same thing. However, in Firefox 1.0.7 text nodes are inserted between the TDs. I'm certain that this didn't use to happen with older versions. The HTML specification states that the only element that...
3
2930
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 not work under FireFox. The dropdownlist are always selecting the zero index value. If I debug and I stop the program in the page_load, the dropdownlist are already set to zero index.
4
1471
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 Linix it has the same issues as Firefox on Windows, plus it has font display issues. I have only worked with Windows and IE6 and haven't tried supporting additional browsers or systems on this website. Does anyone have any suggestions on how to...
3
1110
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 case becomes unchecked without issue, however when I run this in firefox the click() event never fires. However, if I put an alert in before the click() event, it fires fine. I've tried putting the click event in a while loop with the condition of...
1
1247
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% and its td is 25% but in firefox it occupies the whole page but when I give the left column table = 25% then its working in firefox but not in IE and the bg is also not tilling in 100% height can any body give a solution for this?? I'm attaching...
4
3732
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, and also in Apples safari browsers, of the ones that I've tested. My question is this: Do I have to develop separate pages for IE 7 and below and all other browsers in order to make it compatible with all the possible browsers that are out...
0
9711
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10594
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10343
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10331
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10087
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9166
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5667
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.