Possible Duplicate:
How to replace only one parameter or fast with Jquery on Jquery String
The site have the query string is:
http://www.nonloso.html/?nome1=pollo&cognome1=chicken&nome2=a&cognome2=b&nome3=c&cognome3=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. (nome=a&cognome=b)
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.nonloso.html/?nome1=pollo&cognome1=chicken&nome2=565655&cognome2=8765634&nome3=c&cognome3=d.
HoW???
How do I edit the site by changing only the values of interest?
I repeat:
Before the my site is
http://www.nonloso.html/?nome1=pollo&cognome1=chicken&nome2=a&cognome2=b&nome3=c&cognome3=d
After with the script Javascrits or Jquery or ajax (is possible??) is
http://www.nonloso.html/?nome1=pollo&cognome1=chicken&nome2=565655&cognome2=8765634&nome3=c&cognome3=d
There is one solution or example?
You could use
Edit:
Sorry, the code above works but it’s an eternal loop. Then, use