DebugBar Forums
 
 HOME 
 DOWNLOAD 
 BUY 
 DOC / WIKI 
 FORUM 
 CONTACT 
Stay tuned : rss feed

Forum Home


advanced search

You are not logged in.

Announcement

Forums are now closed as we moved them to google groups. You can use the following Google Groups to discuss about DebugBar and IETester products:

#1 2009-10-11 14:26:02

tadrian
New member

Keycodes does not work in any version of IETester

using keycode does not work in any version of IE tester.

a common thing you always want to test in IE is if form is being submitted when clicking enter when focus on a field
this does not work. also tried other keycode scripts and IEtester ignores them all.

this jquery code works fine in IE8 and Firefox, but does not work in any version of IE in IETester, which makes IE tester pretty useless.

$(document).bind('keydown keyup', function(e){
        if(e.keyCode == 13){
            e.preventDefault();
        }
});      




-Thomas

Offline

 

#2 2009-10-11 15:56:40

fabrice
DebugBar Support

Re: Keycodes does not work in any version of IETester

Hi,

Can you provide a sample page and explain how to reproduce the problem ?

Thanks.

Offline

 

#3 2009-10-11 21:15:08

tadrian
New member

Re: Keycodes does not work in any version of IETester

Ok,

#1. Add one input field to a form
#2. open the form in IE6
#3. enter some text to the field and press enter.
#4. the form is submitted

now, do the same in IEtester v6, v7 or v8, the form is not submitted, (which is wrong)
I am running Windows XP SP3, IEtester 0.3.5


. Thomas

Offline

 

#4 2009-10-12 09:08:26

fabrice
DebugBar Support

Re: Keycodes does not work in any version of IETester

It is working correctly on my side. Can you try with the latest IETester version ?

Offline

 

#5 2009-10-14 18:14:02

sabel
New member

Re: Keycodes does not work in any version of IETester

Win7 32bit
newest IETester

I can confirm this.
"Normal" forms work, but catching the keycode of special keys(return, backspace, ...) fails!

Example Code for prototype (http://prototypejs.org/assets/2009/8/31/prototype.js):

<script type="text/javascript" src="prototype.js"></script>
<form>
<input type="text" id="i" />
<script type="text/javascript">
$('i').observe('keypress',function(e){ alert(e.keyCode); });
</script>
</form>

Offline

 

#6 2009-10-17 20:44:19

fabrice
DebugBar Support

Re: Keycodes does not work in any version of IETester

Hi,

I just tested your code and it is working fine for me under IETester with IE5.5/IE6/IE8 tabs.

I have Windows 7 with IE8 installed.

So unfortunately, I can't investigate as the bug is not present on my side.

Offline

 

#7 2009-10-19 14:03:58

fabrice
DebugBar Support

Re: Keycodes does not work in any version of IETester

Hi,

I corrected some bugs and this should have impact on your problem. The corrections will be present on the IETester v0.4.2

Offline

 

#8 2009-10-24 19:43:59

sabel
New member

Re: Keycodes does not work in any version of IETester

everything works again in v0.4.2! great work! thx a lot!

Offline