Jump to content

New to AJAX, trying to get simple form to work


Naez

Recommended Posts

I'm working on an RMA form for somebody.

 

Basically, you can see it  at http://naez.myftp.org/rmaform.php

 

Now what I want it to do, is when Ebay is selected, the Ebay item number will show up and the paypal will show up.  As you can see it kind of does that already.  Problem is when form is submitted with ebay selected, and there's errors so it doesn't go through, the div's hide again.  Also, in firefox if you click on the ebay radio button a bunch of times the layout gets messed up.  In IE it just says "Error on page" in the status bar but doesn't ruin the layout.

 

The framework I am using is http://naez.myftp.org/form.js .

 

Can anyone help point me in the right direction of doing this?

I got it working from this tutorial

http://www.dougv.com/blog/2006/12/19/showing-or-hiding-html-form-elements-with-javascript/

 

Also I guess it was just js not ajax.

 

 

But now it is only displaying the first set of textboxes.  I need it to show 2 textboxes for every item #

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.