This topic is locked

[HELP] Refresh Content Without Reload Page

2/5/2020 6:38:32 PM
PHPRunner General questions
W
wehaye author

I Use very latest PHPRunner in Windows 10 x64.
Same as topic, i need to refresh content without reloading page.
I Found tutorial in Runner Manual;



Runner.runnerAJAX(Runner.pages.getUrl(pageObj.tName, pageObj.pageType)+"?a=return",

pageObj.ajaxBaseParams,

function(respObj){

pageObj.pageReloadHn.call(pageObj, respObj)

});


but displays an error message "Server Error Occured".
In console, display error message

loadfirst.js?34374:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.


How to solve this problem?
Thank you for answer.

milver 2/6/2020



I Use very latest PHPRunner in Windows 10 x64.
Same as topic, i need to refresh content without reloading page.
I Found tutorial in Runner Manual;



Runner.runnerAJAX(Runner.pages.getUrl(pageObj.tName, pageObj.pageType)+"?a=return",

pageObj.ajaxBaseParams,

function(respObj){

pageObj.pageReloadHn.call(pageObj, respObj)

});


but displays an error message "Server Error Occured".
In console, display error message
How to solve this problem?
Thank you for answer.


Which server are you using an application? Xampp, Wamp or internal phprunner server?