Jun 10, 2002 #1 realhorrorshow Technical User Joined Apr 24, 2001 Messages 24 Location GB How do i have a button, that when pressed inserts text into a textfield as seen on blogger? Thanks
Jun 10, 2002 #2 xutopia Programmer Joined Apr 4, 2002 Messages 2,001 Location CA we don't all have blogger accounts. How about you take a look at the source code and see? Gary http://www.xutopia.com Haran Upvote 0 Downvote
we don't all have blogger accounts. How about you take a look at the source code and see? Gary http://www.xutopia.com Haran
Jun 10, 2002 1 #3 BigBadDave Programmer Joined May 31, 2001 Messages 1,069 Location EU Like this you mean : <form> <input type="button" value="Add text" adText="Hello" onClick="this.form.text.value += ' ' + this.getAttribute ('adText');" > <br /> <textarea name="text" ></textarea> </form> Regards David Byng http://www.byngdesigns.co.uk davidbyng@hotmail.com Upvote 0 Downvote
Like this you mean : <form> <input type="button" value="Add text" adText="Hello" onClick="this.form.text.value += ' ' + this.getAttribute ('adText');" > <br /> <textarea name="text" ></textarea> </form> Regards David Byng http://www.byngdesigns.co.uk davidbyng@hotmail.com
Jun 10, 2002 Thread starter #4 realhorrorshow Technical User Joined Apr 24, 2001 Messages 24 Location GB Thanks David, just what i was after. good to see another UK person here too Upvote 0 Downvote