Hi Mark,
I wasn't even aware you could do RegExps in JavaScript.. but looking at your expressioin the only thing I can think of is that maybe you'll want to esacpe the '-' character otherwise the compiler might get mixed up and think you are trying to specify a range.
Would something like this...
UPDATE!!
Well I re-examined the onload way of doing things and this time it seems to work! I must have been doing something silly.
However, I am still having a problem where I want to set the selectedIndex of the dynamic <select> but seem to be unable - the first <option> is selected as...
Hi,
I have a page that creates some dynamic options for a <select>. The options displayed in this <select> are dependent on another <select> which has fixed options.
My problem is that the page these reside on seems to finish loading prior to the arrays of options being completed. This means...
Hi,
I'm generating an HTML page from a CGI script, and am generating a table with various inputs. Some of these are file inputs, and I want to display file names and paths in them.
However, whatever the VALUE is set to in the INPUT the textbox next to the Browse button remains empty...
e.g...
I don't need to use Jscript much so apologies if this is a dumb question.. I've checked the FAQs but still can't work out what's wrong..
Error is saying that object doesn't support method, I presume this means an input doesn't support writeln()?
Any ideas as to how to do this would be...
Hi
I am trying to pass a 2 element array (each element consisting of a hash with three fields, let's call them a, b & c...)
I pass to the func by reference, e.g.
&function(\@myArrayOfHashes);
I try referencing a variable to get hold of the array:
my $reference = shift;
But how do I now...
John
using a W2000 terminal is still going to require a connection back to the servers.. but this will be over a circuit-switched data connection (i.e. over a phone line) and hence get called at whatever rate the network charges for mobile calls (to a land-line).
Therefore I'd suggest looking...
The real Bluetooth market looks like it might be integration with mobile/celluar phones. Such devices are certainly being developed, and should enable phones to exchange information within a few metres as well as sustaining a voice/data call.
Not sure if it will take off but I agree with...
Chris
it has to be a speaker somewhere, the internal 'beeper' maybe? Are you using it near anything else with speakers?
Good luck!
Loon
BTW: The sound is caused by the GPRS card sending/receiving bursts of traffic/signalling information with the network. Because a GSM/GPRS TDMA frame is...
Hey folks,
I've got a Blade 100 running solaris 8 (2.8).
There seems to be a problem with the /dev/ptmx pseudo-terminal multiplexer. It keeps running out of PTYs either because an application is not releasing them, or no PTYs are being released.
Hence when I rlogin, telnet, rsh I get a...
Hey folks,
does anyone know of any utilities or attempts to implement a z80 emulator in ARM7 assembler? Or a cross-assembler/compiler for Z80, to convert it to ARM code?
I'm new to this assembly lark, so apologies if I make little sense!
Failing the above, anyone know of a z80...
Redza
OK, I am not sure what you mean when you say subprocedures, if you mean sub-routines i.e. you declare them thus:
sub A1
{
#stuff goes in here
}
Or, if you are thinking of them as distinct processes/programs/threads what have you. I.e. is A1 in a different file to A2?
It sounds as...
Have you tried:
`cp $file ./scratch/file.out`;
The first system command should have worked I think.. but maybe backticks will have more success.
Also as you are using a relative path are you sure you have permissions to write to scratch/file.out and that a scratch/file.out exists below the...
Do you mean something like the following??...
#!/usr/bin/perl
# call A1, then A2, then A3....
&A1;
&A2;
&A3;
#sub-routines A1 - A3
sub A1
{
&B1; &C1; &D1;
}
sub A2
{
&B2; &C2; &D2;
}
sub A3
{
...etc...
Cheers
Loon
Jimberger
might be worth checking permissions on the directory in question and that you are not trying to delete the directory form within it, or from below it.
On some Unix/Linux boxes there is a command to check which usrer are using a file. Had a command called fuser on an HP box once...
The problem you've got AcidHawk is that you are refreshing the HTML page - hence you are then resetting the value of the auto_up checkbox to whatever it is stated as in the HTML.
You could:
Use a CGI script to generate the page, then call the script after 5 seconds to generate the page again...
Only if each line in your file has some kind of timestamp... Or all lines need to be deleted (in which case you could use the modify time of the file itself).
More info required I think.
Loon
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.