Stop Microsoft
Miscellaneous => Programming & Networking => Topic started by: Canadian Lover on 4 May 2003, 22:16
-
OK, you guys, I'm now having problems in JavaScript. What I'm trying to do, is to write a table into a .js file (using the proper formatting, of corce) so I can just plug it in to all my pages. I load a page that calls up the script, and it dosn't load.
Here's the JavaScript code:
and here's the HTML
-
You need to escape the " characters:
should be
-
tahnks, it works now.
-
quote:
document.write("<table bgcolor='#ffffff' align='left' bordor='0'>");
border is spelt wrong!