![]() |
Admin 11/12/2018 |
$_SESSION["username"] and now() are server side functions and won't work in Javascript. You have two options here.
|
![]() |
woodey2002 author 11/13/2018 |
Many thanks Sergey. var ctrlIvc50 = Runner.getControl(pageid, 'staff_Sign'); |
![]() |
Admin 11/14/2018 |
Before you pass the value of now() to Javascript use PHP's date function to format it. See examples at http://php.net/manual/en/function.date.php |
![]() |
woodey2002 author 11/14/2018 |
Thanks Sergey,
|
A
|
ayctech 12/6/2018 |
can you assign a value to the session variable from javascript? |