Jump to content

Ajax addition


MiJaMu

Recommended Posts

I really like the many tutorials. w3schools is my first stop on just about every web development topic. I have 1 suggestion for the ajax tutorial, though. Although i think i understand what has been presented, the 4 part tutorial doesn't jumpstart my ajax development like some of the other topics do.I am having trouble applying the ajax database example in a real-world environment. Particularly, I cannot adapt the sample code into a page where i need two dynamic input fields in a form. the onchange events are conflicting with each other and the second <div> element gets the final data.can you add another example to the tutorial showing how to put two (or more) dynamic elements in a document?thanks,~ MiJa

Link to comment
Share on other sites

btw, i am not asking for cascading select boxes where the first selection determines the second drop-down, etc. there are plenty of web tutorials for that. i want to know how to have two input boxes with an onchange event where each displays different data on the same page. example:enter zip: [_____]<div shows city, state>enter customer number: [______]<div shows customer data>thanks,~ MiJa

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...