HTML variable?

admin

Administrator
Staff member
Post Preview:
Need to put a variable to substitute HTML data. Is it possible??

Here the HTML that I have which is tucked in a Javascript:


<table bgcolor="#00ff00" border=0 cellpadding="0" cellspacing="0" width="100%" height="100%"
align="left"><tr><td><a href=http://www.webdeveloper.com/forum/archive/index.php/"http://mypath/home.html">myurl</a></td></tr></table>;

How can I do this??

var test = "<table bgcolor="#00ff00" border=0 cellpadding="0" cellspacing="0" width="100%"
height="100%" align="left"><tr><td>"


Here is how I want this variable to work.
test<a href="http://mypath/home.html">myurl</a></td></tr></table>;
 
Back
Top