My onKeyPress ENTER key event works when deployed (in IE) on my localhost but does not work (in IE) when deployed on the test server. On the test server the ENTER event works in FireFox and also Chrome, just not in IE on the test server (but IE on the localhost it works)
<script type="dojo/connect" event="onKeyPress" args="evt">
// append a ENTER key press event handler to combobox to allow quick submit
var key = evt.charOrCode;
if (key == dojo.keys.ENTER) {
if (!submitSearch(false)) {
dojo.stopEvent(evt);
}
}
</script>
Can anyone offer insight as to why would this be?