SEO | Link Popularity | Search Engine Consulting | SEO Tutorial | SEO Tools | SEO Forum
Thread Tools Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Old 12-04-2007, 09:04 PM
trepxe-oes trepxe-oes is offline
Join Date: Dec 2005
Location: Amarillo, Texas
Posts: 299 trepxe-oes is an unknown quantity at this point
JS replace function help

Hello friends,

I want to use replace function in javascript but the client wants that a particular word should be replaced a specified number of times. For example...

In a particular page, I want to replace first 5 occurances of the word 'Telecom' to 'Telecommunications'. No matter how many times this word is used in the specified page.

Please help
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

User Name
Remember Me?

Forum Links
Forum Home
SEO Forum
Internet Marketing Forum
Web Design Forum
Web Hosting Forum
Programming Forum
SEO Chat

Quick Links
Forum Home
New Posts
Mark Forums Read
Open Buddy List
User Control Panel
Edit Avatar
Edit Profile
Edit Options
Subscribed Threads
My Profile

Search Forums

Advanced Search
All times are GMT -8. The time now is 08:51 PM.

Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.