Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


how to bold dynamic text in HTML?



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> HTML Forum
View previous topic :: View next topic  
Author Message
sel129



Joined: 04 Apr 2008
Posts: 1

PostPosted: Fri Apr 04, 2008 9:12 am    Post subject: how to bold dynamic text in HTML? Reply with quote

Hello Everyone,

Can anyone help me with my html problem??

I have a form showing one chunk record at one time. This record is from a table. I want this form to bold certain text from that chunk of record. Since the record is not hardcoded/type inside the form. I want the bold funtion to be dynamic.

Let say,

Record one:
I have an apple.
I want to eat it now.

Record two:
I have a strawberry.
I dun want to eat it now.


First case, I want to bold the whole first line,with the word 'have' in it.. But this line can be anywhere in the page.. It doesn't always have specific position as long as the sentence have the word 'have' in it.

Second case, I want the script to bold the word 'want' every time it finds it.. And only that word!

Can anybody help me on how to do this.. I really dunno how to? Confused
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> HTML Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap