How to search for a word in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to search for a word in html

i wanted to have a search box and search for a specific word that i wanted

4th Dec 2017, 10:37 AM
John Bajao
John Bajao - avatar
7 Answers
+ 1
Hello, Search with what? JavaScript? jQuery?
4th Dec 2017, 10:41 AM
stKhaDgar
stKhaDgar - avatar
+ 1
javascript sir
4th Dec 2017, 10:41 AM
John Bajao
John Bajao - avatar
+ 1
U can search something, if it have id Than u can use 'getElementById' in js. I hope I understand your question.
4th Dec 2017, 10:43 AM
stKhaDgar
stKhaDgar - avatar
+ 1
i wanted to search my .html file
4th Dec 2017, 10:44 AM
John Bajao
John Bajao - avatar
+ 1
for example i have example1.html , example2.html , example3.html and so on. i want to search for that
4th Dec 2017, 10:45 AM
John Bajao
John Bajao - avatar
+ 1
You need to store somewhere your files, and using js, jQuery to connect necessary. something like this...
4th Dec 2017, 10:47 AM
stKhaDgar
stKhaDgar - avatar
0
hmmm. thanks a lot sir
4th Dec 2017, 10:48 AM
John Bajao
John Bajao - avatar