[pmwiki-users] GUI edit freezes time?

Patrick R. Michaud pmichaud at pobox.com
Mon Oct 15 14:14:12 CDT 2007


On Sun, Oct 14, 2007 at 09:25:48PM +0200, Johnny Ernst Nielsen wrote:
> My question is then; is it somehow possible to make an editing gui 
> button capable of inserting the current time that the button is 
> pressed?
> So that if it is pressed with an interval of two seconds, it will 
> insert two different times, two seconds apart?

It's possible, but this would require creating some Javascript
that can be executed from the browser that calculates the time
at the point where the button is pressed and inserts it into
the text.  

In other words, it's not something that is a PHP-only solution.

Pm



More information about the pmwiki-users mailing list