Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Re: hi - easy code


Message #1 by "Robert Sindall" <rsindall@z...> on Fri, 18 Oct 2002 14:45:21 +0100
function insert(value){
var area =3D document.testarea
area.focus();
selection =3D rtb_id.document.selection.createRange();
selection.pasteHTML('<img src=3D' + value + ' />');
}

-----Original Message-----
From: Teng-Fong SEAK [mailto:tfseak@f...]
Sent: 18 October 2002 10:07
To: javascript
Subject: [javascript] Re: hi


To the original poster:
By the word "insert", do you mean what Seamus Warren had shown in his 
post?

> -----Message d'origine-----
> De : Seamus Warren [mailto:seamus@i...]
> Envoy=C3=A9 : vendredi 18 octobre 2002 08:29
> =C3=80 : javascript
> Objet : [javascript] Re: hi
>
>
> Your message:
>
> "hi everybody
> I want to insert emoticons in the textarea, can any body
> guide me how i =3D
> can do this?


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20



  Return to Index