|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Sending query to 2 frames
Greetings,
I have a page with three frames. One frame can contain either an image map (in an html file) or a form with some check boxes (in a different php file). When the user clicks on a section of the image map or fills in some check boxes on the form and presses the Submit button, the parameters are passed to a php file running in a second frame that formats a query against a MySQL table and populates a drop-down list. The details from the first member of the drop-down list need to be sent to the third window automatically (without having to press the Submit button associated with the drop-down list). Then, if the user chooses a different member of the list, the contents of the third window should change again. That part is simple, but I can't get the initial query to push results to two frames. Has anybody got a solution to this problem? Thanks! |
|
#2
|
||||
|
||||
|
You'll have to devise some sort of js to handle this. When the one frame gets the update, it sends the query as a parameter to a function in the other frame, or it sends the query as a get parameter to a reload of the other frame, if the function call isn't possible.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Sending query to 2 frames |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|