/    Sign up×
Community /Pin to ProfileBookmark

Search fields in web pages

I want to know about inserting search options in web pages.How this,s accomplished?My question might seem silly but I don,t care.Often we see search fields on web pages.Is it possible with javascript or some databases,re involved?Plz. guide me?Thanks.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@felgallDec 01.2005 — It is only possible with Javascript if you set up an array of information abolut the pages and search the array eg. http://www.felgall.com/jstip38.htm

If you use a server side scripting language to run the search then you can either have it search the actual page content (very slow) or have a separate program that you run that extracts the essential search info from the pages into a file or database that the search function then searches eg. http://www.felgall.com/php4.htm
Copy linkTweet thisAlerts:
@shehriauthorDec 02.2005 — Thanks Felgall for providing worthwhile infos.I just visited your pages & found a lot more wonderful useful stuff there.Once again thanks.
×

Success!

Help @shehri spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...