Re: Right-click

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



First, this should probably be sent to the PHP general mailing list, not the PHP-DB one.

Does anyone know if there is a function in PHP that allows you to
right-click on an item, and from there a drop down menu pops up and you
can go to another screen, preserving that value that was clicked on?

No. PHP is server-side and what you are describing would be client-side. You might be able to do something like that in JavaScript but I have no idea myself.


If there is no function for right-clicking, then is there a way that
when you are selecting something, not on a form, but in a tree, that you
can get the value of what you clicked on into the PHP file?

If you make any element on a Web page a url, and make the url something like page.php?clickedon=this, then the PHP page that the user goes to would have a $clickedon ($_GET['clickedon']) variable.


Larry


-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux