Jump to content
Sign in to follow this  
MiJaMu

Ajax addition

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...