Reply
Hoq do update a form
Old 02-07-2008, 03:40 PM Hoq do update a form
andyp's Avatar
Extreme Talker

Posts: 165
Name: andy patterson
I was wondering how I update a form as I have tried it before but i'm an absolute beginner. i have this drop down box that has categories and when a category is chose it displays the values of its subcategories in another drop down box.
andyp is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 02-08-2008, 01:54 AM Re: Hoq do update a form
JeremyMiller's Avatar
Full-Time TeraTasker

Posts: 984
Name: Jeremy Miller
Location: Reno, NV
Depending on how you've implemented you could try one of the following:

1) Include the subcategory drop downs in the code with a display of none and then change it when the proper option is selected, or
2) Use Ajax to fetch the new drop down on the fly (more sophisticated coding), or
3) Create a JS object with the field values and change any necessary drop down using DOM coding (still more complicated that #1).

I personally recommend #1 for ease. #3 for speed. #2 for cool code.
__________________
Jeremy Miller - TeraTask Technologies, LLC
Content Farmer - Automated Posting for Content & Blog Sites
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Reply     « Reply to Hoq do update a form
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11787 seconds with 12 queries