Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Php invokation on Combo Box selection

Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to change the behavior of an existing Web Pages. Now, you must click on a "OK" button to validate a choice in a combo box.
What I want is to invoke a Php script when something is selected in the comboBox.
I know how to trigger a function when a selection is made in the comboBox (onChange='doSelect()') but I have not the slighest idea how to relate the php script.
Now the code for the "ok" button is:
<FORM ACTION="admin.php?id_prd=7&id_ver=72" METHOD="POST" ENCTYPE="multipart/form-data" NAME="depart">
<INPUT TYPE="hidden" NAME="validate" VALUE="ok">
<INPUT TYPE="hidden" NAME="m_pwd" VALUE=6>
<INPUT TYPE="hidden" NAME="session" VALUE="correct">
<INPUT TYPE=hidden NAME=extraction VALUE="yes">
<INPUT TYPE="hidden" NAME="categorie" VALUE=1>
How can I change it so that I can be invoke in a doSelect method ?
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic