Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Javascript problem to submit a form in Safari or Firefox



Hi Louis,

I did something similar with Javscript and PHP arrays. Here is where the page is:

http://www.yorku.ca/computing/facultystaff/software/sitelicensing/ neworder.php

What the page did was pulling software info from the database, putting data in arrays, and based on what the client's affiliation and operating system are providing a list of software available for purchase.

I can provide you with the PHP code.

Regards,
Yueh-Chin

On 19-Mar-06, at 11:07 PM, Louis Philip Morin wrote:

Hello all,

I have a form on my website on which some dropdowns data depend on previous dropdowns on the same form. Right now the way it's handled, when one of the important dropdowns change, a javascript event get's ticked and submits the form, which when reloading loads the right info in the other dropdowns. My main problem is that this event handling doesn't seem to work with Safari or Firefox. I tried sending a sample of the code to this dev-list, but it didn't come through, which is why I'm sending this one without code.

I'm also conscious this might not be the best way to handle this, so if you have another option to give me I'd be glad anyhow.

Currently the page is a .php that loads an html template in which the javascript is located.

Thanks for any help in advance!

Louis Philip Morin


_______________________________________________ Do not post admin requests to the list. They will be ignored. Web-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Web-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden
References: 
 >Javascript problem to submit a form in Safari or Firefox (From: "Louis Philip Morin" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.