Is it possible to script text into a fileUpload field?
20 Dec 2005 15:51:32 -0800
Using a javascript-driven, automated web-app test tool, is the
following possible using javascript?
- the test tool runs via an hta to test a web application.
- trying to completely automate the testing of the app, w/no manual
user-interaction,
whatsoever
- one of the web pages contains a file up ...
|
Server.CreateObject("Scripting.FileSystemObject")
Thu, 15 Dec 2005 23:18:27 +0100
if I write (in IIS 5.1), in an .asp page:
<%
var flnm="c:\\test.txt";
var fs=Server.CreateObject("Scripting.FileSystemObject");
var strm = fs.OpenTextFile(flnm, 1);
....
%>
the browser will show: "waiting for [name website]" and do nothing.
What is wrong in this code?
--
Peter J. Veger, Best N ...
|
object disable propertie
Thu, 15 Dec 2005 15:19:37 -0000
How can I make (in pure Java Script) a html button appear, but disabled ?
I've tried this :
- object.style.visibility='visible'
- object.style.disabled=True
and it did'nt worked, the button appeared but enabled.
What's the object's property and it's sintaxe for disabling ?
Thank's in advance, NM
...
|
Video clip shown in CNN about dogs and cats in China
Wed, 14 Dec 2005 09:17:09 -0800
mms://a805.v9135e.c9135.g.vm.akamaistream.net/7/805/9135/0029/peta.download.akamai.com/9135/downloads/jcruel_china_dog_med.wmv
...
|
Video clip shown in CNN about dogs and cats in China
Wed, 14 Dec 2005 09:17:08 -0800
mms://a805.v9135e.c9135.g.vm.akamaistream.net/7/805/9135/0029/peta.download.akamai.com/9135/downloads/jcruel_china_dog_med.wmv
...
|
javaEnabled() function always returns true
Mon, 12 Dec 2005 21:48:02 -0800
I need to detect whether the client has Java enabled or not on his browser.
So I am using the javaEnabled() function [1] to get this information. When
using Opera8.51, Firefox1.5, Netscape8.0 on Windows XP SP2, I am getting the
correct information about Java being enabled or not. i.e. when there is no
JRE ...
|
HOWTO Post to a web page like an HTA with target=_blank
Mon, 12 Dec 2005 13:23:02 -0800
HOWTO Post to a web page like an HTA with target=_blank
Please help,
I'm trying to build 2 web pages in a CGI app, where web page A uses a
standard FORM to post to web page B via something like this:
<form
method=post
action="MyCgi.exe"
target=_blank
>
<input type=hidden name=WHICH_PAGE_DO ...
|
|
|
Passing a search string to IE from the command line
Fri, 2 Dec 2005 09:19:02 -0800
I'm really not sure what news group is most appropriate for my question so
here goes:
Is there a way to pass a search string to IE when invoking IE from the
command line? (Or rather, when launching IE from within another app with,
eg, ShellExecute())
By search string, I'm referring to the substring fo ...
|
id problem
Fri, 25 Nov 2005 14:16:01 -0000
Hi there,
Sorry for my not perfect English.
I just want to ask how to refer to object.id if in some script we change id
from other object to the same id. I mean:
<html>
<head>
< script>
function bla(tt){
tt.id="asd";
alert(document.getElementById('asd').value);
...
|
Detecting an event dynamically assigned...
Fri, 18 Nov 2005 13:05:39 +0000
Guys,
Would be interested to see if someone can come up with a solution for
this one.
--[html/js]--
function foo() { alert("foo") }
function bar() { alert("bar") }
onload = function () {
document.getElementById("x").attachEvent("onclick",bar);
}
<div id="x" onclick="foo()"> ... </div>
--/-- ...
|