Results 1 to 3 of 3

Thread: Is there an equivalent Alert but to a file?

  1. #1
    Join Date
    Jan 2009

    Is there an equivalent Alert but to a file?

    I am testing some jQuery that inserts HTML and I want to get get the text in a format that can be put into a text editor. Currently the Alert() displays the text but it cannot be copied/selected.

    Suggestions are welcomed...

    Many thanks,

  2. #2
    Join Date
    Nov 2010
    using javascript, you can write to a file with the MS file scripting object, but only using IE and only with the user's permission, etc.

    is outputting the text to a text area and copying it from there out of the question?

  3. #3
    Join Date
    Jan 2009
    Using console.log solved it for me.

    Many thanks...


Thread Information

Users Browsing this Thread

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

Tags for this Thread

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