Posted by Anonymous Wed 28th Feb 2007 09:20 - Syntax is JavaScript - 19 views
Download | New Post | Modify | Hide line numbers
  1.             window.onload = function(){
  2.                 var str = "blah blah blah";
  3.                 var spl = str.split(" ");
  4.                 obj = document.getElementById("td1");
  5.                 for(i=0;i<=spl.length;i++){
  6.                     obj.appendChild(document.createTextNode("blah"));
  7.                 }
  8.             }

PermaLink to this entry https://pastebin.co.uk/11109
Posted by Anonymous Wed 28th Feb 2007 09:20 - Syntax is JavaScript - 19 views
Download | New Post | Modify | Hide line numbers

 

Comments: 0