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

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

 

Comments: 0