How do I change the action of the Delete button |
5/8/2008 9:06:35 AM |
PHPRunner General questions | |
T
thesofa author
I have a list of all the workstations on the network, I would like to be able to send a Dos command to each of those that I select from the main list, either by filtering , or by selecting in the tick box. |
|
J
|
Jane 5/8/2008 |
Hi,
<A onclick="frmAdmin.a.value='update'; frmAdmin.submit(); return false;" href="TableName_list.htm#">Your actions</A>
//delete records if(@$_POST["a"]=="delete") return true; //another actions //ad your code here return false; |
M
|
michaelmac 10/15/2008 |
Support: |
J
|
Jane 10/16/2008 |
Mike, |
M
|
michaelmac 10/16/2008 |
hey everyone
|
M
|
michaelmac 10/24/2008 |
hey everyone Here is my tip back to the forum. I have only a couple, but this one applies to PHPR and I believe ASPR. I have been using a button I call "Process selected" as based off of Jane's script here. It has worked for me till I guess I got lost in PHPR 5.0. I found how to do the same thing, but I had to modify it it every so slightly. Here is my solution (hats off to Jane and the support staff for all their incredible workarounds)..
|
M
|
mattd1 11/2/2008 |
Hi Jane and Team |
J
|
Jane 11/5/2008 |
Matt, |