|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I edit a client record in a new window using javascript and PHP?
I query a client database and add links to the #'s of the records returned. I want to link on that record no (id) to open a new window so i can edit that record. How do a pass the id no to javascript so javascript opens the correct record in the new window? part of the PHP routine . . . <script language="JavaScript"> function clientwindow(idsel) { window.open('clientedit.php3?id=idsel','Client','width=400,height=450,directories=no,location=no,men ubar=no,status=no,toolbar=no,resizable=no,left=150,top=150,screenX=150,screenY=1 50') } </script> // the clientedit.php routine works . . . // this part also works $id=result["id"]; $id="<a href="javascript:clientwindow($id)">".$id."</a>"; . . . |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Opening new indexed window with js ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|