Jump to content


Photo

adding new value to dropdown menu on the fly - can this be done?


  • Please log in to reply
1 reply to this topic

#1 DLR

DLR
  • Members
  • PipPipPip
  • Advanced Member
  • 66 posts
  • LocationJohannesburg, South Africa

Posted 17 September 2006 - 03:22 PM

I hae a dropdown list of client names that is used when entering information for a new job (like a work ticket). I would like to be able to add a new client to the list of existing clients on the fly.

This must be a common problem - but I cannot find an example when searching the site.

Can someone guide me to an existing script?

I have set up a variable in my attempts "Add new client" and when this is selected it gives one the opportunity of entering the new name - but the page has to be refreshed.

Any comments will be most welcome!
David

#2 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 17 September 2006 - 03:24 PM

you need to look at ajax for this the brother of javascript.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users