Hi, i'm using protoype (tried and ) and i found a
problem using ajax.updater with FF (IE 7 WORKS).
The problem is using the onkeydown event of a text box.
Trapping the keyCode (enter) , i call the doSearch function

 function doSearch()
        new Ajax.Updater({success: 'pnl_results', failure: 'notice'},
+'&indexnr='+indexnr, { method: 'get' });


The same function if used by a onclick="doSearch();" event of an image
works perfectly.(FF and IE)

Hitting the ENTER with FF , the function is fired, but the results are
not displayed in the pnl_results DIV.

These is the trapping function

function fnTrapKD(event)
      if (event.keyCode == 13){
       event.cancel = false;


Any suggestion?

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to