Document.Write() with #Include?

Results 1 to 2 of 2

Thread: Document.Write() with #Include?

  1. #1
    Rob Chasan Guest

    Default Document.Write() with #Include?

    Apparently, using the #include file directive doesn&#039t work within a Document.Write(). Can someone suggest a work around?<BR><BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    915

    Default RE: Document.Write() with #Include?

    How &#039bout an If...Then statement<BR><BR>&#060;%<BR>If x = 1 Then<BR>%&#062;<BR>&#060;!-- #include thisfile --&#062;<BR>&#060;%<BR>ElseIf x = 2 Then<BR>%&#062;<BR>&#060;!-- #include thatfile --&#062;<BR>&#060;%<BR>Else<BR>%&#062;<BR>&#060;!-- #include defaultfile--&#062;<BR>&#060;%<BR>End IF<BR>%&#062;<BR><BR><BR>HTH<BR><BR>Jerry<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •