Hi. I'm recently using jaxon instead of the old xajax. Everything is working great, however, I need in a particular script, to send a jaxon call, and depending of the result, I need to refresh the page using javascript, something like:
jaxon->script("location.reload();")
I'm working in a development environment right now. However, the browser inspector shows me an Internal Server Error 500, the details is about CORS: strict-origin-when-cross-origin
I guess this is because of the returning javascript command. Does anyone have experience with this issues? I just need to reload the page.
Hi. I'm recently using jaxon instead of the old xajax. Everything is working great, however, I need in a particular script, to send a jaxon call, and depending of the result, I need to refresh the page using javascript, something like:
jaxon->script("location.reload();")
I'm working in a development environment right now. However, the browser inspector shows me an Internal Server Error 500, the details is about CORS: strict-origin-when-cross-origin
I guess this is because of the returning javascript command. Does anyone have experience with this issues? I just need to reload the page.