php - Get the Value of form element - without clicking on submit button -


I have a form, I have said that choosing Volva from the drop down box. So without so I'll go to the next field, click on the submit button, which & lt; Input & gt; value which should store PHP variables Volva

  & lt; Html & gt; & Lt; Body & gt; & Lt; Form action = "" & gt; & Lt; Select name = "car" & gt; & Lt; Option value = "Volvo" & gt; Volvo & lt; / Options & gt; & Lt; Option value = "saab" & gt; Saab & lt; / Options & gt; & Lt; Option value = "fayat" & gt; Fiat & lt; / Option & gt; & Lt; Option value = "Audi" & gt; Audi & lt; / Options & gt; & Lt; / Select & gt; & Lt; Input type = "text" name = "ABC" /> & Lt; / Form & gt; & Lt; / Body & gt; & Lt; / Html & gt;    

Keep event selection, onBlur = saveValue ();

  & lt; Select name = "car" onBlur = "saveValue (this.value);" & Gt;   

Savewall should be a JS function, which then sends an AJAX request to the server.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -