Skip to content

ThirteeNov

My personal blog about coding and internet

Menu
  • About me
  • About Zofia Kreasi
  • Cart
  • Checkout
  • Making an airplane game from scratch in Unity
  • My account
  • Privacy Policy
  • Privacy Policy – zkLeaderboard
  • Sample Page
  • Shop
  • Tutorials on Learning JavaScript
  • ZKAccounts – Privacy Policy
Menu

JavaScript text search tutorial

Posted on October 4, 2017August 4, 2020 by Habibie

How to search text inside a page or multiple html pages in JavaScript? It’s easy, here I will share how to make it done.

JavaScript Search 1 – Basic search functionality

This first tutorial in this topic shows you how do we perform simple text search task in JavaScript

JavaScript Search 2 – Making search functionality case insensitive
In this tutorial I will make search functionality case insensitive. I mean JavaScript should ignore uppercase and lowercase stuffs.

JavaScript Search 3 – Highlighting the search result
Instead of showing an alert, let’s highlight the search result. Here in this tutorial I’ll show you how to that.

JavaScript Search 4 – Highlighting search result again

Here we can highlight the search result without making entire texts lowercase. But, there is still problem and I’ll fix it.

JavaScript Search 5 – Solving uppercase and lowercase problem
Here I’m showing you how I’ve solved uppercase and lowercase problem in this JavaScript Search.

Post Views: 424
ciihuy2020

Welcome!

  • My YouTube Channel
  • My GitHub Page
  • About me

Categories

  • 3DVista
  • Android
  • Apache
  • C#
  • Cordova
  • Electron & Node JS
  • HTML5, CSS & JavaScript
  • iOS
  • Let's Make Unity Games
  • Misc
  • Photoshop
  • PHP
  • Python
  • Uncategorized
  • Unity
  • WordPress

Recent Posts

  • Hover Reveal script for Unity to show and hide object on mouse hover
  • How to Prevent UI Clicks in Unity from “Bleeding Through” to 3D Objects Behind Them
  • Make objects like wires and cables easily in Unity using Ciihuy Curved Mesh
  • [SOLVED] Can’t Add Custom Domain to Blogger After Losing CNAME Verification
  • iOS App Icon Generator by CiihuyCom
© 2026 ThirteeNov | Powered by Superbs Personal Blog theme