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

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
plase help[

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