custom javascript only works on page refresh
Posted: 10 Mar 2020, 08:35
Hi,
I would like to create a small question form that the values of radio buttons are added in the background and a result is given in the end.
I'm not a programmer, the code is correspondingly brutforce cumbersome, but it works (for me) ;)
BUT only after I refresh the page with the form. If I come from another place and navigate to the page with the form, it won't work until I refresh the site.
Any hint how i can avoid this?
Thx!
I would like to create a small question form that the values of radio buttons are added in the background and a result is given in the end.
I'm not a programmer, the code is correspondingly brutforce cumbersome, but it works (for me) ;)
BUT only after I refresh the page with the form. If I come from another place and navigate to the page with the form, it won't work until I refresh the site.
Any hint how i can avoid this?
Thx!