This topic is locked
[SOLVED]

 JS not executed in Add popup

2/15/2016 11:29:46 AM
PHPRunner General questions
C
christou author

I have some JS written in 'JS onload' to auto stamp the current time into a text box.

When I set the page to popup mode, that piece of code did not load at all (for sure I don't have my desired result).

It works correctly if I open the page no in popup mode.
Actually I have many other case that need to use JS in popup. any solution to this? thanks!

Sergey Kornilov admin 2/15/2016

Javascript code is executed in Add in popup mode as well. You need to troubleshoot your Javascript code, check what kind of errors are happening etc. Here is the article that can help:

http://xlinesoft.com/phprunner/docs/troubleshooting_javascript_errors.htm

C
christou author 2/16/2016

Sorry I just realized that I also have to include those external JS in the last page. thanks!