hi
i need help on my script. i would like to open [COLOR=”Red”]schedA[/COLOR] in a column (id=”target”) but it just keeps opening in a new window..or shows nothing at all ? what am i doing wrong?
codes: [url]http://pastebin.com/m66cb2734[/url]
function SchedA(){ for (i=0; i<24; i++) { lines[i+1] = timeStart[i] +t2+ sumTime(timeStart[i],timeDiff[1]) +t2+ sumTime(timeStart[i],timeDiff[2]) +t2+ sumTime(timeStart[i],timeDiff[3]) + nl; } <i> </i>text = "<p><strong>Schedule: A</strong></p>" + lines[1] +lines[2] + lines[3] + lines[4] + lines[5] + lines[6] + <i> </i> lines[7] +lines[8] + lines[9] + lines[10] + lines[11] + lines[12] + <i> </i> lines[13] +lines[14] + lines[15] + lines[16] + lines[17] + lines[18] + <i> </i> lines[19] + "01:00" document.getElementById('target').innerHTML=text; }
Help @borjok spread the word by sharing this article on Twitter...