473,320 Members | 1,957 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,320 software developers and data experts.

AJAX form creation & IE question

I've been working on an AJAX web app, my first one actually.

Run into an issue I'm not sure how to resolve (been googling and
reading trying to find a fix).

Basic premise: Using AJAX to handle calls to PHP scripts, which return
DOM-creating javascript to the browser. This javascript usually creates
forms. No issue with performance, works like a champ in Firefox,
Safari, etc. The problem is IE. A form created via DOM manipulation
doesn't work or submit.

Anyone run into this and know of a resolution? I'd hate to have to
scrap where I'm at.

Thanks in advance
Joe

Apr 21 '06 #1
3 1766
jo********@gmail.com said the following on 4/21/2006 8:36 AM:
I've been working on an AJAX web app, my first one actually.

Run into an issue I'm not sure how to resolve (been googling and
reading trying to find a fix).

Basic premise: Using AJAX to handle calls to PHP scripts, which return
DOM-creating javascript to the browser. This javascript usually creates
forms. No issue with performance, works like a champ in Firefox,
Safari, etc. The problem is IE. A form created via DOM manipulation
doesn't work or submit.
Sure it does, but it depends on how the form is created.
Anyone run into this and know of a resolution? I'd hate to have to
scrap where I'm at.


Post your form creation code or a URL to a sample page.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 21 '06 #2
Here's a test page:
http://beta2.lesshype.com/home.php

Usage model:
- Click "Maintenance" on left hand navigation to switch CMS sections
- Onclick style change displays available sections (users is only
option)
- Module selection triggers the ajax call to php script
- php script returns string of javascript commands imploded with "||"
- on successful return, string split by "||", and each resulting string
is run through javascript eval()

Try it in Firefox or safari first to see how it *should* work. I have
it dumping input on sucess currently.

Thans again for any help!
Joe

Apr 23 '06 #3
Also, don't get too harsh on my javascript just yet =)

Once I get everything working right, it's off to refactoring to get
things cleaned up substantially. I've never been a big javascript guy,
this project has been a good learning experience for me.

Apr 23 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: d3vkit | last post by:
I have a form on my page, and some javascript which uses ajax to submit the form, and then opens the new page in a div using ajax so there is no refresh. This works fine. But the problem is this: all...
1
by: William Youngman | last post by:
I have a gridview displaying data and would like to use the AJAX dropdown extender so that when the user clicks on a record a dropdown menu will display providing the user with a menu of selections...
0
by: William LaMartin | last post by:
In error, I asked this question in the dotnet.languages.vb group, but this group would be more appropriate. I have just started working with AJAX, and in watching some of the video tutorials at...
5
by: MC | last post by:
Hi, I am googling for a script and can't seem to find code to do this. I can probably write code to save but reloading is an issue. I want to, using ajax, send all form data back to a server...
1
by: sweatha | last post by:
Dear Friends This is Sweatha. Right now I am working in the ASP.NET 2005 with VB coding & the back end is SQL SERVER 2000. My dilemma is I have to design a form with 2 DropDownListboxes. I...
3
pradeepjain
by: pradeepjain | last post by:
hii guys , I wanna share a very gud ajax validation script with php... Ajax Form Validation - sForm | chains.ch weblog I am very new to ajax .So i wanna small help....i want to...
16
by: ziycon | last post by:
I have this below code that calls an ajax page my problem is how do i pass the form values into the ajax page? I've tried $_REQUEST but it wont pick them up?? <form method="post"...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.