473,545 Members | 1,989 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

start search when user hits return-key

5 New Member
I want to make the search button default so that for both mozilla and IE when i wil hit enter key it will perform the search.

Now in mozilla enter key works as search key but in IE i have to hit search button.
But i want for both the enter key should work.
Oct 6 '07 #1
8 1946
FullyH3ktik
52 New Member
use a form as the container, and the search button as a submit button, like this:
Expand|Select|Wrap|Line Numbers
  1. <form onsubmit="...">
  2. <input type="text" id="keywords" />
  3. <br />
  4. <input type="submit" />
  5. </form>
Oct 6 '07 #2
AnjaliPanda
5 New Member
In my project in one search page the enter key makes the search in Mozilla but not in IE.
I wnat for both IE and Mozilla the enter key should make the search.
Oct 8 '07 #3
dmjpro
2,476 Top Contributor
In my project in one search page the enter key makes the search in Mozilla but not in IE.
I wnat for both IE and Mozilla the enter key should make the search.
Have a look at this, it may help you :-)

Debasis Jana
Oct 8 '07 #4
AnjaliPanda
5 New Member
i want to know how can i make the Search button in my page default so that for both IE and Mozilla, when i will hit enter key Search will happen.
Oct 9 '07 #5
gits
5,390 Recognized Expert Moderator Expert
hi ...

changed thread-title to better describe the problem ... please always use a good thread title

kind regards
Oct 9 '07 #6
acoder
16,027 Recognized Expert Moderator MVP
Merged three threads on the same topic. Please do not double and treble post.
Oct 9 '07 #7
AnjaliPanda
5 New Member
hi ...

changed thread-title to better describe the problem ... please always use a good thread title

kind regards

Thanks a lot. as i am a new member in these type of sites so i dont have much idea. From next time i will take care of that.
Oct 10 '07 #8
dmjpro
2,476 Top Contributor
i want to know how can i make the Search button in my page default so that for both IE and Mozilla, when i will hit enter key Search will happen.
How much you tried?
Post that Code.
Actually I don't get your Point.
My "LINK" does not work?

Debasis Jana
Oct 10 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1803
by: Jack-of-all-traits | last post by:
This is a big problem and I really need help, no one seems to know how to solve this problem. I want to take the data from a record in a particular a field that contains the names of generic products made up of 1 to 4 words and search each record online, on a search engine such as the google.com or altavista.com. Then also retain or...
1
1809
by: Mike | last post by:
I have a search page that I want to enable private caching so that when a user hits the back button they dont get the page has expired error. I have seen this done on: http://www.asp.net/Forums/Search/default.aspx?tabindex=1 Downloaded the source and tried to find out how they did it to no avail, any ideas? Thanks,
3
1642
by: Pieter | last post by:
Hi, I need some search system, that will return me the records with in indicator of probability. This is for a VB.NET 2005 application with a SQL Server 2000 DataBase. I have a table with different columns in which the user needs to search. In case the search-routine finds the exact match (the same part of the sentence) it should return...
3
1182
by: Pieter | last post by:
Hi, I need some search system, that will return me the records with in indicator of probability. This is for a VB.NET 2005 application with a SQL Server 2000 DataBase. I have a table with different columns in which the user needs to search. In case the search-routine finds the exact match (the same part of the sentence) it should return...
4
3060
by: EvoEight | last post by:
I'm writing a search for our site and I'm running into a few problems. When I run the query like this, it runs just fine: Declare @Keywords varchar(2000) Select @Keywords = 'modern trial advocacy canada' Select product_id, name, count(name) hits FROM estore_products INNER JOIN sequence ON estore_products.name like '%' + Substring(' ' +...
0
7420
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7680
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7934
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7446
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7778
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6003
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
1908
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1033
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
731
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.