|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Use Javascript onChange event to call a PHP function
Hi,
I have a HTML select list, which i want to add the onChange() event to...how can I have that onChange() event call a PHP function? Thanks |
|
#2
|
|||
|
|||
|
RE: Use Javascript onChange event to call a PHP function
you would need to have the onChange event submit the page and fire of the function at that point. You cannot directly call php functions from Javascript.
|
|
#3
|
|||
|
|||
|
RE: Use Javascript onChange event to call a PHP function
So what can I do about this:
I have a drop down list that is created from my database. Whne a user selects a different item in the list, I want to update a textfield with some values based on what they selected. The list shows the Title of game, however, the recordset that i used to query the database contains all fields of the table, so when they select a title in the list, i want to update text fields with that Title's related info (which is in my recordset). how can i do this then? Thanks in advance |
|
#4
|
|||
|
|||
|
Message Moved
Thread moved from 'PHP Coding' to 'Client Side Things' by zombie.
Reason: |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Use Javascript onChange event to call a PHP function |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|