Jump to content

[SOLVED] Search Option


ballouta

Recommended Posts

Ya, they could be using 'onkeyup' with a check to see if the key pressed is the enter key. If it is, then it submits.

 

This isn't a good method though, because it won't work if your users have javascript turned off. If you are going to use this method, then you should add a submit button, then hide the submit button with javascript when the page loads, so that users with javascript turned off can still use the form.

Link to comment
https://forums.phpfreaks.com/topic/129074-solved-search-option/#findComment-669651
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.