Get It To The Text Box San Antonio TX

Now let's post the numbers to the text box.

Local Companies

Petrich Consulting
(210) 657-3851
5123 Sirretta Dr
San Antonio, TX
Ocasio Computer Consulting
(210) 545-5539
San Antonio, TX
Ynl Consulting
(210) 340-0098
7550 W Ih 10
San Antonio, TX
Champion Computers Inc
(210) 647-4999
5720 Bandera Rd
San Antonio, TX
Intelliwyse Inc
(210) 599-0233
4035 Naco Perrin Blvd
San Antonio, TX
SoloComputers.com
915-204-8163
7903 Pinebrook Dr.
San Antonio, TX
Ccmcs Inc
(210) 495-8812
14607 San Pedro Ave
San Antonio, TX
Tech Now Computer Training
(210) 732-1242
4243 E Piedras Dr Ste 250
San Antonio, TX
Alamo City Computer Consultants
(210) 492-1566
13138 Hunters Brook St
San Antonio, TX
Systems Engaged
(210) 545-5933
14307 Markham
San Antonio, TX

provided by: 
Originally published at Internet.com


Scripper...

As if the numbers haven't been through enough, now, let's post them to the text box.

The Script's Effect

-----------------------------------

Here's the Code

The placement part of the function looks like this:

var dateTime = hour; dateTime = ((dateTime <10)? "0":"") + dateTime; dateTime = " " + dateTime; dateTime += ((minute < 10) ? ":0" : ":") + minute; dateTime += ((second < 10) ? ":0" : ":") + second; dateTime += " " + month + " " + date + ", " + year; document.clock.face.value = dateTime; document.clock.locationx.value = zone; setTimeout("checkDateTime()",900); }

We start by setting a new variable, "dateTime," to the hour. Remember that we took a great deal of effort to get that number accurate to the hour in the time zone where it would display. We'll use it to begin figuring out the remainder of the display.

Here's something new to the Script Tips, (?:) See that question mark and colon that pops in there a few times? That's JavaScript shorthand for an If/Else statement. The format is similar to the traditional If/Else. First there's a condition, then there are two items. If the condition is true, the first item is returned. If it is false, the second is returned...

Read article at Internet.com site

Featured Local Company

SoloComputers.com

915-204-8163
7903 Pinebrook Dr.
San Antonio, TX
http://SoloComputers.com

Related Local Event
2009 IEEE International Conference on Systems, Man and Cybernetics - SMC
Dates: 10/11/2009 - 10/14/2009
Location: Hyatt Regency Riverwalk
San Antonio, TX
View Details

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML