I have the following function run onsubmit for a form:
function validate(form)
{
for(i = 0; i < form.elements.length; i++)
{
if(form.elements[i].value == "") {
alert('Please fill everything!');
return false;
}
}
if(form.AP1.value=='PM' && form.hour.value !='00' && form.hour.value !='12'){...
Hi everyone, could someone take a look at my convoluted login algorithm? It works fine except if I close out from the site and don't return for a while and open the page:
1. cookie logs me in, sets phpsseid
2. by refreshing the page, i get logged out with login cookie deleted
when i first login...
I have the following python code embedded into perl that outputs the bluetooth mac address, rssi and other info:
#!/usr/bin/perl -w
use Inline Python => <<'END';
#!/usr/bin/python
import gobject
import dbus
import dbus.mainloop.glib
def device_found(address, properties):
#prints mac...
For some odd reason I cannot connect to the internet with my NETGEAR wireless network adapter on my laptop. The adapter works fine on my desktop and had worked fine before on the laptop as well until a few days ago. The laptop shows that it detects my router and has excellent signal but once...
I couldn't find a place to post this question. Sorry about that. I know that rar parts like file1.part01.rar can be opened just by extracting one of the parts. But winrar can't open file1.rar.1, file2.rar.2...etc. It can only open file.rar.0
i've never seen an extension like this. Is there a...
Is this possible? I'm using LPRINT for a robot arm, and theres a noticeable 20 sec delay between each LPRINT command. Would there be such a delay if I switched to RS232C instead of Centronics?
Thanks for the help,
Le
I have a code which controls a robot arm as shown:
10 K# = 0
20 DO
30 DO: A$ = INKEY$
40 LOOP UNTIL A$ <> ""
50 IF ASC(A$) = 68 THEN LPRINT "DW -10,0,0"
60 IF ASC(A$) = 65 THEN LPRINT "DW 10,0,0"
70 IF ASC(A$) = 87 THEN LPRINT "DW 0,10,0"
80 IF ASC(A$) = 83 THEN LPRINT "DW 0,-10,0"
90 IF ASC(A$)...
I am trying to use utorrent, but the port forwarded to it is not opened(according to the µTorrent Port Checker). I am not connected to a router, but rather to a dsl modem(speedstream). I've found bunch of articles on portwarding with routers, but none for modem(do modems even need to...
I'm sure there is a way to do this, but I do not know the function for this. Can some one tell me? I just want to be able to call for another basic code to execute with a basic code.
Thanks.
I'm sure there is a way to do this, but I do not know the function for this. Can some one tell me? I just want to be able to call for another basic code to run via basic.
Thanks
A few days ago I was using my computer when suddenly it became busy(CPU reaching 100%), over nothing! It was so slow that I manually shutoff the computer, hoping that would do the job. But before it reached the windows XP scrolling bar screen it lagged for a considerable amount of time. And even...
In my program, I want have Java create multiple distinct buttons that i can individually reference to. A tedious way for the same effect would be:
JButton button = new JButton(words);
JButton button1 = new JButton(words);
JButton button2 = new JButton(words);
//sets different sizes for...
The following code that i used adds 100 buttons onto the JPanel. But because there are so many buttons, it would not bode for me to manually make a variable name to all of them. So i'm wondering what I should do to be able to add actionlistener to all of the buttons. Since the way that i did it...
I dont recall what setting i adjusted, but my 256RAM laptop has become 224mbRAM. Does anyone have a idea of what i could've done and what I should do to get back to 256mbRAM?
ty in advance,
My Win98SE doesn't seem to be able to detect usb flash drives when i plug it in the hub. I dont understand why, cause all Win98 have USB controller enabled(plus, my other newer Win98 could detect it). I tried microsofts's fix:
http://support.microsoft.com/kb/240075
But that didn't help;
This PC...
I have a Win98SE Pentium II PC that I'm trying to get rid of. But there are a bunch of music saved on it so i want to be able to take those out. But the problem is that the computer just refuses to read my blank or even already written Cds(no matter if it's recordable or rewritable). The only...
I wrote a Perl vocab program that reads vocab from a database, the program uses the default speech engine on windows. I dislike my current engine, does anyone know of a a GOOD free speech engine that i can download? engines like microsoft sam and mary, but much better in voice quality
I wrote a Perl vocab program that reads vocab from a database, the program uses the default speech engine on windows. I dislike my current engine, does anyone know of a a GOOD free speech engine that i can download?
Hi i need to find a free webhost capable of allowing me to access shell or cmd, thats pretty rare these days. But i need one to run Oregano, which is a Java powered Flash multiuser server. any reply is appreciated.
hi i am trying to load a chat program which combines java and flash(Oregano Server), it works when i connect to localhost on my own computer because i executed start.bat(or start.sh, if not windows), start.bat must be running to keep the server running. Now i tried to put the chat program on the...
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.