javscript form editing
i posted this a while ago. didnt get to much help. yhought id try one more time. to edit the form with javascript wouldnt the command be…
javascript:void(document.forms[0].INPUT.value="myemail@domain.com");
????? i try this but for some reason it does not send the info to my email. any help or tips would be greatly appriciated! :)
Rhs_basketballer wrote: i posted this a while ago. didnt get to much help. yhought id try one more time. to edit the form with javascript wouldnt the command be…
javascript:void(document.forms[0].INPUT.value="myemail@domain.com");
????? i try this but for some reason it does not send the info to my email. any help or tips would be greatly appriciated! :)
Try this:
javascript:alert(document.getElementsByTagName('input')[1].value='hello@world.net');
But first find the number at the "inputs". Hmm.. You can test the input field with: alert(document.getElementsByTagName('input')[?].name);
If it alerts the value you want, then edit it, like this: javascript:alert(document.getElementsByTagName('input')[1].value='hello@world.net');
Hope you understand, i'm from Denmark! :whoa: