Welcome visitor
* Login
* Register
It is currently July 20th, 2019, 5:08 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  textarea background
PostPosted: April 11th, 2009, 10:40 pm 

Posts: 31
Hi guys,
How can i add an image to a textarea when the user types something in it? Thanks for your help.


Top
 Profile  
 
  Re: textarea background
PostPosted: April 11th, 2009, 10:46 pm 
User avatar

Posts: 79
try this
<textarea onFocus="this.style.background = 'url(imgPath.jpg)';" ></textarea>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron