Re: FiveWeb Questions
Posted: Sun Mar 27, 2016 11:33 pm
Just for those who are following this......
For using enter to activate a button (I added this after the "activate" clause for the dialog):
To update a text field (I used a button in this example):
For using enter to activate a button (I added this after the "activate" clause for the dialog):
- Code: Select all Expand view
- ? '<script>$("#oDlg").keydown(function (event) { if (event.keyCode == 13) { $(this).parent() .find("button:eq(0)").trigger("click"); return false; } });</script>'
To update a text field (I used a button in this example):
- Code: Select all Expand view
- ...ACTION ('document.getElementById( "oGetTest" ).value=oGetTest.value+" "+"Some new text" ')