/    Sign up×
Community /Pin to ProfileBookmark

Hi All,

Is there any javascript code to search contents of a website?

I am quite new to this and I’m looking for a script to search a section of a website. (not the whole site)

Can someone please help.

1) Do I need to create a database of some sort in order to be able to do this, or can I just do the search without having to create any database?

2) Does anyone have the code for the search?

Please help.

**B**

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundryMay 15.2003 — A server-side language, but if you have to do it client-side, check out some of these scripts:

http://wsabstract.com/script/cutindex14.shtml

Adam

P.S. You might need a database for a server-side script, but not for JS.
×

Success!

Help @biggest 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 5.18,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...