Thanks, the workaround you suggest works! On Wed, May 27, 2009 at 2:19 PM, Horst Herb <my.list.subscripti...@gmail.com> wrote: > Had the same problem, this worked for me: > <form id="testform" onsubmit="return false"> > Search for: <INPUT type="text" id='searchfor' value="" onchange="ajax('..... > > That way, the form does not submit when enter is pressed, but onchange > triggers the ajax function and you get what you want > > Horst
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---