
Apr 17th, 2008, 00:25
|
 |
Nerdy Moderator
|
|
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 942
Thanks: 2
Thanked 22 Times in 22 Posts
|
|
|
Re: MULTIPLE LIVE PREVIEWS of form
Something like this?
- Code: Select all
function preview(id1, id2,id3,id4){
var NewText = document.getElementById(id1).value;
splitText = NewText.split(/\n/).join("<br />");
DivElement = document.getElementById(id2);
DivElement.innerHTML = splitText;
DivElement = document.getElementById(id3);
DivElement.innerHTML = splitText;
DivElement = document.getElementById(id4);
DivElement.innerHTML = splitText;}
__________________
echo "Take it easy, ".$CloudedVision;
.links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; }
<quote>"I think it's wrong that only one company makes the game Monopoly " - <name>Steven Wright </name></quote>
|