using JS variables in HTML

Discussion in 'General Discussion Forum' started by Guest, Sep 18, 2000.

  1. Guest

    Guest Guest

    OK, since there seems to be a tradition of posting JavaScript questions on this board *everyone points to Smack and laughs* :) I'm posting mine.

    How the hell do you use JS variables as parameters of HTML tags? I've tried the format &{variable}; which I've found in some tutorial, but it returns strange results for me. Does anyone know?

    ~Dr. W95
    the Super-Puper Admin
    http://www.thevats.f2s.com
     
  2. Smackrazor

    Smackrazor Guest

    I just have to say...

    Ha-ha!

    That's what you get for insulting me! Not a single reponse!

    Exc-ellent.


    [TABLE border=5" cellspacing="0" cellpadding="15" bgcolor="#000000" bordercolor="#4B5359" bordercolorlight="#008DE6" bordercolordark="#002FA4][TR][TD]
    [a href=//www.modsquad.f2s.com/][IMG SRC=//www.modsquad.f2s.com/logo2.jpg" border=0][/a]​
    [table border=0 cellspacing=0 cellpadding=0 width=100%][tr][td align=center]
    [a href="mailto: Smackrazor@mailandnews.com" style="font-family:arial;font-size: 9pt;color:#008DE6;text-decoration:underline;]Smackrazor[/a]

    [font style=font-family:arial;font-size: 9pt;color:#008DE6;]Webmaster: [a href=//www.modsquad.f2s.com/" style="font-family:arial;color:#008DE6;text-decoration:underline;font-size: 9pt;]The Mod Squad[/a][/td][/tr][/table][/td][/tr][/table]​
     
  3. Guest

    Guest Guest

  4. Smackrazor

    Smackrazor Guest

    RE: actually...

    >there's one responce - yours! bwahahahahahahaha!!!
    >:P

    Hmm, I should have included the word 'helpful' in front of response ;)


    [TABLE border=5" cellspacing="0" cellpadding="15" bgcolor="#000000" bordercolor="#4B5359" bordercolorlight="#008DE6" bordercolordark="#002FA4][TR][TD]
    [a href=//www.modsquad.f2s.com/][IMG SRC=//www.modsquad.f2s.com/logo2.jpg" border=0][/a]​
    [table border=0 cellspacing=0 cellpadding=0 width=100%][tr][td align=center]
    [a href="mailto: Smackrazor@mailandnews.com" style="font-family:arial;font-size: 9pt;color:#008DE6;text-decoration:underline;]Smackrazor[/a]

    [font style=font-family:arial;font-size: 9pt;color:#008DE6;]Webmaster: [a href=//www.modsquad.f2s.com/" style="font-family:arial;color:#008DE6;text-decoration:underline;font-size: 9pt;]The Mod Squad[/a][/td][/tr][/table][/td][/tr][/table]​