Solved

I need to write to a text file from JavaScript

Posted on 2011-09-29
2
191 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
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…

930 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now