i am using javasscript ajax form with php to enter a contact us form and users have been reporting that they send information with a url

for example:

http://www.example.com?ajac=1&code=2

i would only get http://www.example.com?ajac=1

it seem to cut off any text after teh & character

so how can i fix it?

this is how my javascript code looks like:

"&i=" + encodeURI( document.getElementById("i").value ) +


any help?