New to this forum.
I have the following situation:
I have a form (inside a larger page) that passes a value through ajax to a php file that uses this value in session.
I use ajax because I don’t want to page to change. I would like the java-script to refresh the page after it sends the data to to the sessions.php.
the following code requires me to click twice on the submit button (once to send the value and second to refresh)