Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

search text in page

Featured Replies

Hi,

 

I've been asked to put a text search feature into a page, which I haven't done before and don't know how to do. The page will contain a list of products and what I need is a basic text search box, if someone types in a product name, the page should go to the spot where it's listed, or the text should highlight, or similar (so long as they can find it).

 

I thought maybe I could do it with some simple javascript code, so I went looking, and found some, but it didn't work.

 

Any advice? When answering please bear in mind I'm hung over. And stupid. I am a fairly basic html dreamweaver point and click type person who doesn't understand server side stuff or database stuff, unless it is extremely simple.

 

Thanks!

Hi,

 

I've been asked to put a text search feature into a page, which I haven't done before and don't know how to do. The page will contain a list of products and what I need is a basic text search box, if someone types in a product name, the page should go to the spot where it's listed, or the text should highlight, or similar (so long as they can find it).

 

I thought maybe I could do it with some simple javascript code, so I went looking, and found some, but it didn't work.

 

Any advice? When answering please bear in mind I'm hung over. And stupid. I am a fairly basic html dreamweaver point and click type person who doesn't understand server side stuff or database stuff, unless it is extremely simple.

 

Thanks!

 

You could add a google search. That's quick and easy enough.

Try this. Just change the site to search.

 

<form method="get" action="http://www.google.com/search"  target="_blank">
<input type="text"   name="q" size="20" maxlength="255" value="" />
<input name="Search" type="submit" id="Search" value="Search  Site" />
<input type="hidden"  name="sitesearch" value="topshopper.net"  />
</form>

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.