javascript trigger
-
Hi
I’ve added a button on my website to transfer a certain value to the filter field of the form using javascript.
The used java code is here :<button onclick="myFunctions()">Try it</button> <script> function myFunctions() { var input = document.getElementById('nt_cf_0_table_4807'); input.focus(); document.getElementById("nt_cf_0_table_4807").value = '123' } </script>The code works very well and puts “123” in the filter filed
The problem is the table has no reaction to the change of the value of the field.
Not before you press a key like “enter”Is there any way that I can modify the code due to an instant reaction to the change of the value and eliminate this need of pressing a key ??
Thank you in advance
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘javascript trigger’ is closed to new replies.