Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.writeln("<table id='services' class='services' name='services'>");
- document.writeln("<tr>");
- document.writeln("<th> Preview: </th>");
- document.writeln("<th> Description: </th>");
- document.writeln("<th> Cost: </th>");
- document.writeln("</tr>");
- var i = 0;
- //for ( i = 0; i < servicePrev.length; i++)
- {
- if (i % 2 == 0){
- document.writeln("<tr class='even' id='even'>");
- }
- else{
- document.writeln("<tr class='odd' id='odd'>");
- }
- //document.writeln("<td> " + servicePrev[i] + " </td>");
- //document.writeln("<td> " + serviceDesc[i] + " </td>");
- //document.writeln("<td> " + serviceCost[i] + " </td>");
- document.writeln("</tr>");
- }
- document.writeln("</table>");
- </script></code>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement