PDA

View Full Version : how do i put a input textbox on my web page the user writes something and is converte



chikooo
10-12-2008, 09:02 PM
how do i put a input text box on my web page. the user writes something on the textbox and what he wrote will be added automatically to another textbox that contains html code.
so the user can copy the whole html code.
like on my hot comments.com
myhotcomments.com/graphics/49343
plase help[

Jesdisciple
10-14-2008, 02:16 AM
inputbox.onkeyup = function(){
outputbox.value = 'enclosing ' + this.value + ' text';
}Find the boxes with document.getElementById.