Tech Blog

Embedded search box capable to search fields

We need an embedded search box which could search fields, such as Title, Author, Subject, and Call number. We modify the search box code  coming from “Creating a Search Box With Deep Links to the New UI” in the link “”, and fulfill our target.

The interface will be like below.

It uses Javascript code to get the select box value and replace the “any,contains,keyword” parameter with “title,contains,keyword”, or “creator, contains, keyword”, so that this embedded search box could search title, author, subject, and call number.

The code is in :

2 Replies to “Embedded search box capable to search fields”

Leave a Reply