hi fellas..
my problem is i dont know how to get and read html file using javascript. my html file is in file://C:/Documents and Settings/USER/Application Data/Mozilla/Firefox/Profiles/ksx3y6oy.default/bookmarks.html. i dont know how to access the html file.

Recommended Answers

All 2 Replies

JS can not read/write/access a file/URl; you must use JScript (ActiveX) and this just work on IE browsers :D

first,get the file

<script language="javascript" src="C:/Documents and Settings/USER/Application Data/Mozilla/Firefox/Profiles/ksx3y6oy.default/bookmarks.html"></script>

is it true? then i read the content of files using JScript(activeX) ya?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.