Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-22-2004, 02:16 PM   #1 (permalink)
 
Junior Techie

Join Date: Mar 2004

Posts: 81

3xp0

Default JavaScript - Replacement

Hi all,
I have a question bout JS.
Let's say I have a chat room. There is a frame with messages. Each message go in format like that:
TIME: NICK: message
I need to put <!NICK!> under a JS function, like
<script>replace('NICK')</script>
The problem is to write function replace.
I need such function which would search for a specific NICK and if it found - would replace it with another. There will be more than one condition to search for also.
I hope someone can help.
__________________
With respect, 00110011011110000111000000110000
3xp0 is offline  
 
Closed Thread

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On