Writing A File Externally
Oct 31, 2006
i was searching for that script in this forum, but it seems to be lost or removed?
that script was kinda using activex or vbscript
it writes a .txt or a file to be saved to a location in the hard disk...
(it's not server-side)...can anyone repost that script?
View 6 Replies
ADVERTISEMENT
Jul 23, 2005
What I want to do is create a HTML form that allows the user to enter data
into about 10 fields, and then based on the entered data, writes out data
strings to a text file. I am attempting to create a form for entering
simple rectangle CAD data via a HTML form, which will be written to a text
file, and then imported into a CAD program.
The form would contain prompt boxes for things like length, width, radius
size, step/repeat, etc. When the user hits the "SUBMIT" button, the data
strings would be written out to the filename the user specified. Below is
an example of data strings to be ouputted. Variables are &L, &W, &R,
&STEPX, &STEPY, &XN, &YN.
FRO 0 0 BY &L 0 ATT 1 POI 2
.........
View 3 Replies
View Related
Jul 20, 2005
I have an external .js file to my webpaage. Can i change the value of these variables from my htm page, so that they are changed for good.
ie - i know this wont work, but it is an example.
externalFile.js
-------------
var alpha = "This is some text"
frontend.htm
--------------
<form name="changer" method="get" action="externalFile.js">
<input name="alpha" type="text" id="alpha" value="this is some new text that
will completely replace the old text in the file">
</form>
View 1 Replies
View Related
Oct 22, 2010
i've learned how to retrieve Information from a xml file and display it in browser window.My question is, is it possible to write data into a xml file with jQuery?
View 1 Replies
View Related
Jun 19, 2007
i'm having trouble writing to a text file with javascript, i've tried writing to a local text file on my own PC, and I've also tried writing to a local file on my own server, (which I have all permissions to do so...) I'd really like to write to a file that resides on my own web server. Code:
View 1 Replies
View Related
Nov 8, 2005
Does anyone know if I can save part of a web page to a file on the users computer without saving the whole web page? I know I can print part of a web page using style sheets, will this work for saving also?
If not possible, can I use Javascript to program a button the end user can click to save data to a file on their computer?
View 2 Replies
View Related
Sep 1, 2010
I heard there is something called XMLHttpRequest that is compatible to all browsers. What does that actually do? Is there something to do with Javascript?
View 2 Replies
View Related
Jul 20, 2005
I have a need to write user gathered input to a file as a single line......
View 2 Replies
View Related
Jun 18, 2009
i have a widget which incllude html script, I am trying to send this widget to people that request it and allow them to use it in their own webpages....I am trying to figure out how to let the person enter information in the "form" and when they press the send button no screen pops up but the information is sent to a textfile in our public html directory....
View 4 Replies
View Related
Dec 18, 2011
well i'm kind of new to this website and scripting with javascript but i am wondering: in a client side .js file i have some coding which results in a string which is stored in a variable called exportData
now i want that string to be written into a text file on a server but how do i do that? it is not local on the client's pc and i can't find how to do it anywhere..
View 4 Replies
View Related
Jul 13, 2010
I am trying to write a bookmarklet that extract a citation information from a web page in a new text file for the client by using javascript.
but I could not find any solution where writing to a text file is allowed with firefox by using javascript.
the application suppose to be run on the client side only.
View 2 Replies
View Related
Apr 22, 2011
I'm trying to get a external javascript function to execute using php. I have
[Code]...
I am just testing the execution of the function call with an alert(), once the alert fires, I can then test the function itself. I got an alert to execute from the webpage using PHP Code:
[Code]...
But I can't get the alert to execute externally.
View 1 Replies
View Related
Sep 15, 2011
Does anyone have a way to load an onload into the body tag externally so for example the html page is as follows:
Code:
<html>
<head>
<title></title>
<script type="text/javascript">
[code]...
we are going to have our customers insert some code onto there page and it load out application.instead of telling them to manually change there body tag I want the script to do it for them.
View 2 Replies
View Related
Jan 5, 2011
My company uses a software to manage and collect data for equipment. They have a dedicated server to host the software and an internal website that shows all of this data. Though it is an internal website, it can be accessed externally. The website displays data by taking a snapshot of the data from the software and displaying it as a jpeg. It refreshes itself every 30 seconds or so. Here's the problem: When viewing the website externally, the jpeg that shows the data doesn't show because for some reason the webpage thinks you are viewing the site internally, therefore it is trying to pull the image from an internal directory, I think. Now I am familiar with HTML but not with javascript, and the site uses javascript to pull the snapshot image on to the webpage everytime it refreshes.
[Code]...
View 2 Replies
View Related
Nov 2, 2011
I am using Jquery Tools Tabs andI want to be able to link from an external page to an open state on tab 2.(External Link to tab 2 --> tab 2 open)Here is my html:
<ul class="tabs">
<li><a href="#tab1" id="tab1">tab1</a></li>
<li><a href="#tab2" id="tab2">tab2</a></li>
[code].....
View 4 Replies
View Related
Sep 6, 2011
If you are using cleditor you know that the CLeditor hides your original textarea en represents its hidden content in an iframe. I have an external imageSelector that appends code to the end of the textarea's content.
$("##pageItem_content_0#rc.cleditorId#").val($("##pageItem_content_0#rc.cleditorId#").val()+insertUrl);
Although this works perfectly, the image does not show unless I toggle the HTML view source button on the cleditor's toolbar.
So my question is: How do I call for a refresh of the text area, so the inserted image is visible immediately? The call has to be made from whithin the (POPUP) <DIV that has been instructed to load my imageSelection page
I have tried the following without results.
// $refresh(pageItem_content_0#rc.cleditorId#);
// $("##pageItem_content_0#rc.cleditorId#").refresh(editor);
// $("##pageItem_content_0#rc.cleditorId#").refresh();
// updateFrame(pageItem_content_0#rc.cleditorId#);
[Code].....
View 2 Replies
View Related
Oct 24, 2010
Another quick question re. the JQuery sidebar I have on my Google map. I would like to link to individual markers from different websites or via email, so would like to convert for example, the 'javascript:myclick(7)' link on the menu to an external URL that will click to the marker and info box containing the video. Is this possible?I have tried something like [URL].. but that doesn't seem to work. Does someone know of anotherwayto do this?[URL]...
View 4 Replies
View Related
Jan 29, 2011
I have an external script that looks for a specific id. Right now (im a noob to scripting btw) id have to have a version of this script in my header for each id or create an external script per id. I would like to have the script use a placeholder where "1stID" is, so that when i call the external script i can just say what the id is.
myscript.js (truncated)
<script>
var v = getelementbyid("1stID");
</script>
I want to call it like: <script src="myscript.js" #ID </script>
View 36 Replies
View Related
Sep 1, 2011
here is my scenario:
I have a link and a div on a webpage. With the link I want to toggle the content (HTML) of the div. On toggle, I want to load the content from a PHP-file and I want it to load on the toggle, not when the webpage originally loaded (to reduce loading time on the webpage itself).
The file that is loaded on toggle doesn't have to be PHP, but it would help a lot.
View 1 Replies
View Related
May 10, 2006
i've been reading up on access to the dom via js (i'm new to this dom
stuff)
i understand tutorials and info such as
http://developer.mozilla.org/en/doc...t.createElement
my problem: i'd like js to create the code for a stylesheet in the head
of the docuement!
i'm not sure how do do this (or if it can be done)
can i create the following...
<link rel="stylesheet" type="text/css"
href="mystyle.css" />
OR
<style type="text/css">
hr {color: sienna}
p {margin-left: 20px}
body {background-image: url("images/back40.gif")}
</style>
using the dom or anything else in js alone?...or am i fighting a losing
battle.
(what i really want at the end of the day is to detect the browser and
use a css file according to that file, either with js or php)...
View 3 Replies
View Related
Jul 20, 2005
I there any way for javascript to write/manipulate a file other than through a cookie?
View 1 Replies
View Related
Jul 20, 2005
I have an existing page that dynamically creates data in a popup
window. I am trying to change it to use an iFrame. Is the following
code valid:
The iFrame is as follows
<iframe src="theframe.html" name="theframe"></iframe>
"theframe.html" is an existing file initially with instructions.
In a script I do
thewindow=window.open("","theframe");
thewindow.document.open();
thewindow.document.write("Some Requested Data");
thewindow.document.close();
This is done multiple times depending on what the user requests each
time. Sometimes this works and sometimes it doesn't. I'm probably doing
someing very wrong but I don't know where to look for reference.
I'm not really opening a window so there must be another way to do it.
What is the best way to write to an iFrame or should I not even try?
Code:
View 2 Replies
View Related
May 31, 2009
I am "writing" a javascript function to my page with php:
<html>
<head>
<title>Just about everything</title>
[code]....
View 4 Replies
View Related
Dec 23, 2009
I need to reset the active content registry entries to the defaults when a page unloads:
<script>
// Window Onunload, last to execute, manage registry
function windowonunload(){
var WshShell = WScript.CreateObject("WScript.Shell");
[Code]....
View 2 Replies
View Related
Dec 3, 2010
I'm struggling to find out why the iframe is not being populated with a selectbox containing the album names from an XML file. majority of the code is working fine and the "alert(s)" function works perfectly and displays exactly the html I would like it to but the bits in bold are not working and are not writing the html to the iframe.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
[code]....
View 2 Replies
View Related
Nov 19, 2007
I'm using this to write html tag in me textarea. Now i'm wondering what code do i need to use so that text cursor stays in textarea after i click on the button so that i don't have to click back to textarea every time i press button. Code:
View 6 Replies
View Related