I have a form with two fields name and surname.
Write the fields and I click submit without action.
BEfore the my site is http://www.xn--nonlos-8wa.html
The form is
<form method="GET">
<input type=”text” nome=”id” value=”qui il tuo testo”>
<input type=”text” cognome=”id” value=”qui il tuo testo”>
<input type= "submit" name= "submit" value= "Invia" >
</form>
The site after submit is:
http://www.xn--nonlos-8wa.html/?name=pollo&cognome=che+sono&nome=a&cognome=b&nome=c&cognome=d
This is the site where I have sent three form but now I would like to change the name of the second form that I sent.
Unless the data with the procedure that I read the site and subject to the variable.
I edit the field (variable) but as I’m going to rewrite on the site.
From name=a and surname=b that the site would become the new parameters.
http://www.xn--nonlos-8wa.html/?nome=pollo&cognome=che+sono&nome=565655&cognome=8765634&nome=c&cognome=d.
Then without using the submit of the form …
HoW???
How do I edit the site by changing only the values of interest?
Before the my site with the submit is
http://www.xn--nonlos-8wa.html/?name=pollo&cognome=che+sono&nome=a&cognome=b&nome=c&cognome=d
After with the script Javascrits (is possible??) is
http://www.xn--nonlos-8wa.html/?nome=pollo&cognome=che+sono&nome=565655&cognome=8765634&nome=c&cognome=d
There might have been translation problems with your question, but I think you’re asking how to set the names of the parameters you pass from your form?
The easiest thing to do would just be to change the name of you inputs:
But if you can’t edit the html for some reason, you could also send the request with jQuery and set the parameters in a json object: