Thanks for the examples it made me come closer to my goal. Unfortunately there are conflicts.
I have today the following code on the page: "script.php"
'a' must have a starting value for the page to be able to display the table. Therefor it has above been given 30.
I believe this is why nothing happens when I follow your recommendation
Which I have written in the body of "script.php".
Since all javascripts and fetching is done in the <head> and my <form>
is written further down in the <body> it creates a conflict?
I would like the table to be displayed from the start with a given value for 'a'.
Then the user could use the form to show a new table for their chosen value.