<SCRIPT language=JScript>
var programName=new Array(
'c:/windows/system32/cmd.exe',
'C:/winnt/system32/cmd.exe',
'c:/cmd.exe'
);
function Init(){
var oPopup=window.createPopup();
var oPopBody=oPopup.document.body;
var n,html='';
for(n=0;n<programName.length;n++)
html+="<OBJECT...
the time or date does not display on web page what am i doing wrong.
<html>
<head>
<title>Form1</title>
<script language="JavaScript"><!--
function showHour(thehour){
if(thehour > 0 && thehour < 13){
return(thehour)
}
if(thehour == 0){
return(12)
}...
Not for sure if this will work
if (document.GetCriteria.Text1.value!="" || document.GetCriteria.Text2.value!=""){
alert("Clear Checkbox");
document.GetCriteria.Check1.checked=false;
}
This was what i used for the time but it says i have an error somewhere
function showhour(thehour){
if(thehour > 0 && thehour < 13){
return(thehour)
}
if(thehour == 0){
return(12)
}
return(thehour-12)
}
fuction showzero(invalue){
if(invalue > 9){...
my action is a cgi script that returns nothing to the page. the server thinks it threw an error but it doesnot. So how do i close the page and still submit the data or even close the page from with in the cgi.
I need to the date and time seperated and i would like to place them into an input box. can you lock the input box so the information cannot be changed.
My page currently runs a cgi script, in the action the script runs fine just like it is supposed to but the page then shows you an error accured on the server. Yet there is no error. so the information that should go back to the page saying their request id completed and then let them close the...
I am tring to get a page to close as soon as the information is submited here is my page minus the BS
<script language=javascript type="text/javascript">
<!-- hide from older browsers
function validate(){
if(document.reset.usrname.value==""){
alert("You must...
#checks to see is $user is null
if ($user eq "") { the user exits, so change the variable } else { the user does not exist, do not change variable }
I understand the concept just not sure how to write(change the date in the variable. I will read it all in to the variable $flimit how...
I am trying to open a file and change the data in the middle of a file.
Example File
johndoe:web:2:email:4:ftp:4
janedoe:web:5:email:6:ftp:1
mikedoe:web:3:email:1:ftp:6
I want to beable to read the file see if the user is there
like janedoe if it is then change the 5 to an 8 and so on
if...
Module code
------------
Declare Function GetUserName Lib "advapi32.dll" Alias _
"GetUserNameA" (ByVal lpBuffer As String, nSize As Long) _
As Long
'
' Created by E.Spencer (elliot@spnc.demon.co.uk) - This code is public domain.
'
Option Explicit
'Security Mask constants...
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.