Get exclusive CAP network offers from top brands

View CAP Offers

Ajax scripting with PHP and forms

allfreechips asked 4 years ago
Anyone have good knowledge of Ajax?

Im kicking myself trying to figure out how to build a form with ajax where a select box will update another, and update a group of checkboxes as well..

I think i got the general aspect but multiple items are getting me.

2 Answers
kwblue answered 4 years ago
I tend to use frameworks when programming ajax-style code. jQuery is a good one to use.

I did something, recently, similar to what you are trying to do… 3 combo boxes, 2 dependent upon the others. I believe I searched for ‘Ajax combo box’ or something like that and found a great example.

allfreechips answered 4 years ago
yeah i found a few examples, I need to tie in a combo box then other elements as well depending on the first and second selection.. Oh and make it work inside a Vbulletin wrapper on top of that lol..

I think im getting it a bit more today but I will check the framework you mentioned!