Results 1 to 2 of 2

Thread: string from request object as link

Hybrid View

  1. #1
    Join Date
    Feb 2013

    string from request object as link

    Hi, why does this not work?

    var link = "${outFile}";

    <div id="footer">
    <a id="csvLink" href="">Download .csv file</a>

    <script type="text/javascript">
    document.links["csvLink"].href = link;

  2. #2
    Join Date
    Feb 2013
    What does

    alert (link);

    shows you? Is there a variable assigned? Does links["csvLink"] work? Test it by replacing the variable link with a fixed string like 'Google.com'.

    Please report back with any results.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles