Solved

I need to write to a text file from JavaScript

Posted on 2011-09-29
2
193 Views
Last Modified: 2012-05-12
I have an in-house unobtrusive library for jqGrid that I need to debug. Calling the windows.alert() works, but writing to a text file gives me a log of the sequences of the funnction calls. I can not use console.log since I will be comparing IE (where the bug does not appear) and FireFox (where the bug exists).

How can I code this?

Thanks.
0
Comment
Question by:newbieweb
2 Comments
 
LVL 6

Accepted Solution

by:
rknetwork earned 500 total points
ID: 36815769
You may run in to permissions issues trying to write a file on the local disk. Why not trying to a use cookie instead? http://www.w3schools.com/js/js_cookies.asp
0
 

Author Closing Comment

by:newbieweb
ID: 36815986
Thanks.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question