(Serious Bug) Backspace causing back page in read only combo

I have combo like this
var cb_field=dhtmlXComboFromSelect(“id_field”);
cb_field.readonly(true);

If I click back space key in the combo, it causes person to go to previous page.

If Combo is in dhtmlx window, it closes the dhtmlx window and goes to previous page.

IE only so far.

Actually I tried it in your website example dhtmlx.com/docs/products/dhtmlxCombo/index.shtml for read only example and it also failed for Back Space.
To reproduce, in IE, click on Read only combo and press backspace.

If I click back space key in the combo, it causes person to go to previous page.

input in readonly mode behaves the same way.

You may try to do the following:

  • locate line in the dhtmlxcombo.js

dhtmlXCombo.prototype._onKey = function(e){

and add the highlighted code snippet

dhtmlXCombo.prototype._onKey = function(e){
var that=this.parentNode.combo;
(e||event).cancelBubble=true;
var ev=(e||event).keyCode;
if(ev==8) return false;