It is necessary to change the value using Javascript , because the search form is generated by itself and there is no access to the code.
Thanks a lot in advance.
It is necessary to change the value using Javascript , because the search form is generated by itself and there is no access to the code.
Thanks a lot in advance.
pure_js:
document.getElementById('someInputId').value = 'changed Value'; jQuery:
$('#someInputId').val('changed Value'); $(document).ready(function(){ $("input").val("Значение"); }); Или <input onclick/onblur="this.value='Значения'"> It depends on your situation. Do not forget to connect the library Jquery .
Source: https://ru.stackoverflow.com/questions/132512/
All Articles