Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member
    Join Date
    Oct 2015
    Posts
    14
    Member #
    52369
    Liked
    1 times

    Questions about Document Write

    For some reason, the following code:

    document.write('<a href="'+link+'" target="_blank"><img src="'+adBanner+'" width="125" height="125" alt="'+alt+'" title="'+title+'" /></a>');

    Is causing the following message:

    document type does not allow element "a" here

    The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements
    Does anyone have any suggestion on how to fix the above dilemma? Thanks.

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:41 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com