codice:<form id="googleForm"> <input type="text" value="Ricerca" id="q" name="q"/> <input type="submit" value="Google" formaction="http://www.google.com/search"/> </form> <script> document.getElementById("googleForm").addEventListener("submit", function(){ document.getElementById("q").value += " TESTO CHE VUOI AGGIUNGERE"; }); </script>