This might be a really stupid question but ... I trap the Enter &
Return keys to pass a search item from a form using this javascript
function
function submitenter(event)
{
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return true;
if (keycode == 13) // ASCI keycode id for enter & return
{
doSearch(); // Ajax based search routine
return false;
}
else
return true;
}
My question:
How would one alter this code to trap the iPhone's Search button? In
other words, what is the iPhone's Search button keycode or onClick
property?
Thanks for any suggestions in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---