C
|
cgphp 7/18/2011 |
In the javascript onLoad event: $(document).keyup(function(e) { |
P
|
paulirvine author 8/20/2011 |
In the javascript onLoad event: $(document).keyup(function(e) {
|
C
|
cgphp 8/20/2011 |
$(document).keyup(function(e) {
|
D
|
danaci 8/21/2011 |
hi, |
C
|
cgphp 8/21/2011 |
$(document).keyup(function(e) { |
D
|
danaci 8/22/2011 |
Many thanks! |
P
|
paulirvine author 8/22/2011 |
Thanks Cristian - greatly appreciated. $(document).keyup(function(e) {
|
P
|
paulirvine author 8/22/2011 |
odd. I must still be doing something wrong. That looked like an ideal solution, but it doesnt work for me at all. |
C
|
cgphp 8/22/2011 |
In firefox 6, it works for me. The only difference in the code is for the back button:
|
P
|
paulirvine author 8/23/2011 |
How bizarre... I noticed that some other code I had in "onpageload" also seemed to be suddenly not working (to uppercase on a control). But that same caode used to work, and was still working on another similar page. So I did a 'reset' on the page, then put back in the uppercase code, and the keyup code, and suddenly everything is working fine. odd. I must still be doing something wrong. That looked like an ideal solution, but it doesnt work for me at all. i input your example code in onpageload event for the add screen directly to test it. it didnt register either enter or escape key (firefox 6.0). using firebug, I see that the standard Save button has an id = saveButton1. I changed to trigger click on that id too, but it still doesnt work. I'm just using ordinary html page for my add page (not the popup style and no ajax search). tried in chrome too. no luck. I can see in firebug that the javasscript code is being added to the page head okay. |
C
|
cgphp 8/23/2011 |
uppercase ? |
P
|
paulirvine author 8/23/2011 |
uppercase ?
|