• Home
    • Payments
  • Tools
    • Color Chart
  • Software
    • Windows tricks
      • Windows 11 Speed Up Tricks
      • Windows Command Prompt CMD
    • Android Phone
      • Android – Dangerous Settings to Turn Off
    • Projects
      • Copy Files
      • Php Autoscript
      • Web Tools
  • Notes
    • How to Code
    • System Tips
  • News
    • Comparing SSD to HDD

How to Code

ACCESS 2022 | Browsers | Css | Htacess | Html | Html5 | Javascript | Microsoft Excel | Mysql | Mysql Dumps | Php | Vb.net | VBscript | Windows <=8 | Windows >=10 | WP | WP Plugin | WP Themes | _Misc Software |

ABCDEFGHIJKLMNOPQRSTUVWXYZ
ON
PRT
OFF

<- Look Inside Data
Conditions:
Order:
1|2|3|4|5|6|7|8|
50 Language Operation Title
Keywords
Application
Code Languageid
Show Html
Show Iframe
Make Public
Viewed
Viewed Date
Html Formatting Ascii Table Improved
ascii
Ascii Lookup
DEC OCT HEX BIN Symbol HTML Number HTML Name Description
00000000000000NUL?? Null character
10010100000001SOH? Start of Heading
20020200000010STX? Start of Text
30030300000011ETX? End of Text
40040400000100EOT? End of Transmission
50050500000101ENQ? Enquiry
60060600000110ACK? Acknowledge
70070700000111BEL? Bell, Alert
80100800001000BS? Backspace
90110900001001HT ? Horizontal Tab
100120A00001010LF? Line Feed
110130B00001011VT? Vertical Tabulation
120140C00001100FF ? Form Feed
130150D00001101CR? Carriage Return
140160E00001110SO? Shift Out
150170F00001111SI? Shift In
160201000010000DLE? Data Link Escape
170211100010001DC1? Device Control One (XON)
180221200010010DC2? Device Control Two
190231300010011DC3? Device Control Three (XOFF)
200241400010100DC4? Device Control Four
210251500010101NAK? Negative Acknowledge
220261600010110SYN? Synchronous Idle
230271700010111ETB? End of Transmission Block
240301800011000CAN? Cancel
250311900011001EM? End of medium
260321A00011010SUB? Substitute
270331B00011011ESC? Escape
280341C00011100FS? File Separator
290351D00011101GS? Group Separator
300361E00011110RS? Record Separator
310371F00011111US? Unit Separator


DEC OCT HEX BIN Symbol HTML Number HTML Name Description
320402000100000SP ? Space
330412100100001!!!Exclamation mark
340422200100010"""Double quotes (or speech marks)
350432300100011###Number sign
360442400100100$$$Dollar
370452500100101%%%Per cent sign
380462600100110&&&Ampersand
390472700100111'''Single quote
400502800101000((&lparen;Open parenthesis (or open bracket)
410512900101001))&rparen;Close parenthesis (or close bracket)
420522A00101010***Asterisk
430532B00101011+++Plus
440542C00101100,,,Comma
450552D00101101--? Hyphen-minus
460562E00101110...Period, dot or full stop
470572F00101111///Slash or divide
48060300011000000? Zero
49061310011000111? One
50062320011001022? Two
51063330011001133? Three
52064340011010044? Four
53065350011010155? Five
54066360011011066? Six
55067370011011177? Seven
56070380011100088? Eight
57071390011100199? Nine
580723A00111010:::Colon
590733B00111011;;;Semicolon
600743C00111100<<<Less than (or open angled bracket)
610753D00111101===Equals
620763E00111110>>>Greater than (or close angled bracket)
630773F00111111???Question mark
641004001000000@@@At sign
651014101000001AA? Uppercase A
661024201000010BB? Uppercase B
671034301000011CC? Uppercase C
681044401000100DD? Uppercase D
691054501000101EE? Uppercase E
701064601000110FF? Uppercase F
711074701000111GG? Uppercase G
721104801001000HH? Uppercase H
731114901001001II? Uppercase I
741124A01001010JJ? Uppercase J
751134B01001011KK? Uppercase K
761144C01001100LL? Uppercase L
771154D01001101MM? Uppercase M
781164E01001110NN? Uppercase N
791174F01001111OO? Uppercase O
801205001010000PP? Uppercase P
811215101010001QQ? Uppercase Q
821225201010010RR? Uppercase R
831235301010011SS? Uppercase S
841245401010100TT? Uppercase T
851255501010101UU? Uppercase U
861265601010110VV? Uppercase V
871275701010111WW? Uppercase W
881305801011000XX? Uppercase X
891315901011001YY? Uppercase Y
901325A01011010ZZ? Uppercase Z
911335B01011011[[[Opening bracket
921345C01011100Backslash
931355D01011101]]]Closing bracket
941365E01011110^^^Caret - circumflex
951375F01011111___Underscore
961406001100000```Grave accent
971416101100001aa? Lowercase a
981426201100010bb? Lowercase b
991436301100011cc? Lowercase c
1001446401100100dd? Lowercase d
1011456501100101ee? Lowercase e
1021466601100110ff? Lowercase f
1031476701100111gg? Lowercase g
1041506801101000hh? Lowercase h
1051516901101001ii? Lowercase i
1061526A01101010jj? Lowercase j
1071536B01101011kk? Lowercase k
1081546C01101100ll? Lowercase l
1091556D01101101mm? Lowercase m
1101566E01101110nn? Lowercase n
1111576F01101111oo? Lowercase o
1121607001110000pp? Lowercase p
1131617101110001qq? Lowercase q
1141627201110010rr? Lowercase r
1151637301110011ss? Lowercase s
1161647401110100tt? Lowercase t
1171657501110101uu? Lowercase u
1181667601110110vv? Lowercase v
1191677701110111ww? Lowercase w
1201707801111000xx? Lowercase x
1211717901111001yy? Lowercase y
1221727A01111010zz? Lowercase z
1231737B01111011{{{Opening brace
1241747C01111100|||Vertical bar
1251757D01111101}}}Closing brace
1261767E01111110~~˜Equivalency sign - tilde
1271777F01111111DEL? Delete



DEC OCT HEX BIN Symbol HTML Number HTML Name Description
1282008010000000€€€Euro sign
1292018110000001Â Unused
1302028210000010‚‚‚Single low-9 quotation mark
1312038310000011ƒƒƒLatin small letter f with hook
1322048410000100„„„Double low-9 quotation mark
1332058510000101………Horizontal ellipsis
1342068610000110†††Dagger
1352078710000111‡‡‡Double dagger
1362108810001000ˆˆˆModifier letter circumflex accent
1372118910001001‰‰‰Per mille sign
1382128A10001010Å Å Å Latin capital letter S with caron
1392138B10001011‹‹‹Single left-pointing angle quotation
1402148C10001100ŒŒŒLatin capital ligature OE
1412158D10001101Â Unused
1422168E10001110ŽŽŽLatin capital letter Z with caron
1432178F10001111Â Unused
1442209010010000Â Unused
1452219110010001‘‘‘Left single quotation mark
1462229210010010’’’Right single quotation mark
1472239310010011“““Left double quotation mark
1482249410010100”””Right double quotation mark
1492259510010101•••Bullet
1502269610010110–––En dash
1512279710010111———Em dash
1522309810011000˜˜˜Small tilde
1532319910011001™™™Trade mark sign
1542329A10011010šššLatin small letter S with caron
1552339B10011011›››Single right-pointing angle quotation mark
1562349C10011100œœœLatin small ligature oe
1572359D10011101Â Unused
1582369E10011110žžžLatin small letter z with caron
1592379F10011111ŸŸŸLatin capital letter Y with diaeresis
160240A010100000NBSPÂ Â Non-breaking space
161241A110100001¡¡¡Inverted exclamation mark
162242A210100010¢¢¢Cent sign
163243A310100011£££Pound sign
164244A410100100¤¤¤Currency sign
165245A510100101¥¥¥Yen sign
166246A610100110¦¦¦Pipe, broken vertical bar
167247A710100111§§§Section sign
168250A810101000¨¨¨Spacing diaeresis - umlaut
169251A910101001©©©Copyright sign
170252AA10101010ªªªFeminine ordinal indicator
171253AB10101011«««Left double angle quotes
172254AC10101100¬¬¬Negation
173255AD10101101­SHY­­Soft hyphen
174256AE10101110®®®Registered trade mark sign
175257AF10101111¯¯¯Spacing macron - overline
176260B010110000°°°Degree sign
177261B110110001±±±Plus-or-minus sign
178262B210110010²²²Superscript two - squared
179263B310110011³³³Superscript three - cubed
180264B410110100´´´Acute accent - spacing acute
181265B510110101µµµMicro sign
182266B610110110¶¶¶Pilcrow sign - paragraph sign
183267B710110111···Middle dot - Georgian comma
184270B810111000¸¸¸Spacing cedilla
185271B910111001¹¹¹Superscript one
186272BA10111010ºººMasculine ordinal indicator
187273BB10111011»»»Right double angle quotes
188274BC10111100¼¼¼Fraction one quarter
189275BD10111101½½½Fraction one half
190276BE10111110¾¾¾Fraction three quarters
191277BF10111111¿¿¿Inverted question mark
192300C011000000ÀÀÀLatin capital letter A with grave
193301C111000001ÁÁÁLatin capital letter A with acute
194302C211000010ÂÂÂLatin capital letter A with circumflex
195303C311000011ÃÃÃLatin capital letter A with tilde
196304C411000100ÄÄÄLatin capital letter A with diaeresis
197305C511000101ÅÅÅLatin capital letter A with ring above
198306C611000110ÆÆÆLatin capital letter AE
199307C711000111ÇÇÇLatin capital letter C with cedilla
200310C811001000ÈÈÈLatin capital letter E with grave
201311C911001001ÉÉÉLatin capital letter E with acute
202312CA11001010 ÊÊÊLatin capital letter E with circumflex
203313CB11001011ËËËLatin capital letter E with diaeresis
204314CC11001100ÌÌÌLatin capital letter I with grave
205315CD11001101ÍÍÍLatin capital letter I with acute
206316CE11001110ÎÎÎLatin capital letter I with circumflex
207317CF11001111ÏÏÏLatin capital letter I with diaeresis
208320D011010000ÐÐÐLatin capital letter ETH
209321D111010001ÑÑÑLatin capital letter N with tilde
210322D211010010ÒÒÒLatin capital letter O with grave
211323D311010011ÓÓÓLatin capital letter O with acute
212324D411010100ÔÔÔLatin capital letter O with circumflex
213325D511010101ÕÕÕLatin capital letter O with tilde
214326D611010110ÖÖÖLatin capital letter O with diaeresis
215327D711010111×××Multiplication sign
216330D811011000ØØØLatin capital letter O with slash
217331D911011001ÙÙÙLatin capital letter U with grave
218332DA11011010ÚÚÚLatin capital letter U with acute
219333DB11011011ÛÛÛLatin capital letter U with circumflex
220334DC11011100ÜÜÜLatin capital letter U with diaeresis
221335DD11011101ÝÝÝLatin capital letter Y with acute
222336DE11011110ÞÞÞLatin capital letter THORN
223337DF11011111ßßßLatin small letter sharp s - ess-zed
224340E011100000Ã Ã Ã Latin small letter a with grave
225341E111100001áááLatin small letter a with acute
226342E211100010âââLatin small letter a with circumflex
227343E311100011ãããLatin small letter a with tilde
228344E411100100äääLatin small letter a with diaeresis
229345E511100101åååLatin small letter a with ring above
230346E611100110æææLatin small letter ae
231347E711100111çççLatin small letter c with cedilla
232350E811101000èèèLatin small letter e with grave
233351E911101001éééLatin small letter e with acute
234352EA11101010êêêLatin small letter e with circumflex
235353EB11101011ëëëLatin small letter e with diaeresis
236354EC11101100ìììLatin small letter i with grave
237355ED11101101íííLatin small letter i with acute
238356EE11101110îîîLatin small letter i with circumflex
239357EF11101111ïïïLatin small letter i with diaeresis
240360F011110000ðððLatin small letter eth
241361F111110001ñññLatin small letter n with tilde
242362F211110010òòòLatin small letter o with grave
243363F311110011óóóLatin small letter o with acute
244364F411110100ôôôLatin small letter o with circumflex
245365F511110101õõõLatin small letter o with tilde
246366F611110110öööLatin small letter o with diaeresis
247367F711110111÷÷÷Division sign
248370F811111000øøøLatin small letter o with slash
249371F911111001ùùùLatin small letter u with grave
250372FA11111010úúúLatin small letter u with acute
251373FB11111011ûûûLatin small letter u with circumflex
252374FC11111100üüüLatin small letter u with diaeresis
253375FD11111101ýýýLatin small letter y with acute
254376FE11111110þþþLatin small letter thorn
255377FF11111111ÿÿÿLatin small letter y with diaeresis
Html



3
05/05/2026
Html Formatting Using Html Bookmarks
bookmark name
General Ledger
Bookmarks
Call your thing you are looking up from a lookup table
^tr class=$alt>^td>^a href='SJView.php#$Account_Number'>$Account_Number^a>

Item bookmarked in your html that will be called
^a name='$account'> ^/a>^h3>$account^/h3>
Html



0
11/23/2026
Html Formatting Creating Page Breaks
print break
Printing
Html



4
05/05/2026
Html Keyboard Key Codes
keyboard ascii chr key codes
Html



2160
05/05/2026
Html5 Form Form Attributes
required min max pattern
Html Forms
HTML5 New Form Attributes
HTML5 has several new attributes for
and
.
New attributes for
:
autocomplete
novalidate
New attributes for :

autocomplete
autofocus
form
formaction
formenctype
formmethod
formnovalidate
formtarget
height and width
list
min and max
multiple
pattern (regexp)
placeholder
required
step


/
autocomplete Attribute
The autocomplete attribute specifies whether a form or input field should have autocomplete on or off.
When autocomplete is on, the browser automatically complete values based on values that the user has entered before.
Tip:
It is possible to have autocomplete "on" for the form, and "off" for specific input fields, or vice versa.
Note:
The autocomplete attribute works with
and the following
types: text, search, url, tel, email, password, datepickers, range, and color.
Example
An HTML form with autocomplete on (and off for one input field):
First name:
Last name:
E-mail:

Try it yourself �
Tip:
In some browsers you may need to activate the autocomplete function for this to work.
novalidate Attribute
The novalidate attribute is a boolean attribute.
When present, it specifies that the form-data (input) should not be validated when submitted.
Example
Indicates that the form is not to be validated on submit:
E-mail:

Try it yourself �
autofocus Attribute
The autofocus attribute is a boolean attribute.
When present, it specifies that an
element should automatically get focus when the page loads.
Example
Let the "First name" input field automatically get focus when the page loads:
First name:
Try it yourself �
form Attribute
The form attribute specifies one or more forms an
element belongs to.
Tip:
To refer to more than one form, use a space-separated list of form ids.
Example
An input field located outside the HTML form (but still a part of the form):
First name:

Last name:
Try it yourself �
formaction Attribute
The formaction attribute specifies the URL of a file that will process the input control when the form is submitted.
The formaction attribute overrides the action attribute of the
element.
Note:
The formaction attribute is used with type="submit" and type="image".
Example
An HTML form with two submit buttons, with different actions:
First name:
Last name:
value="Submit as admin">

Try it yourself �
formenctype Attribute
The formenctype attribute specifies how the form-data should be encoded when submitting it to the server (only for forms with method="post")
The formenctype attribute overrides the enctype attribute of the
element.
Note:
The formenctype attribute is used with type="submit" and type="image".
Example
Send form-data that is default encoded (the first submit button), and encoded as "multipart/form-data" (the second submit button):
First name:
value="Submit as Multipart/form-data">

Try it yourself �
formmethod Attribute
The formmethod attribute defines the HTTP method for sending form-data to the action URL.
The formmethod attribute overrides the method attribute of the
element.
Note:
The formmethod attribute can be used with type="submit" and type="image".
Example
The second submit button overrides the HTTP method of the form:
First name:
Last name:
value="Submit using POST">

Try it yourself �
formnovalidate Attribute
The novalidate attribute is a boolean attribute.
When present, it specifies that the
element should not be validated when submitted.
The formnovalidate attribute overrides the novalidate attribute of the
element.
Note:
The formnovalidate attribute can be used with type="submit".
Example
A form with two submit buttons (with and without validation):
E-mail:

Try it yourself �
formtarget Attribute
The formtarget attribute specifies a name or a keyword that indicates where to display the response that is received after submitting the form.
The formtarget attribute overrides the target attribute of the
element.
Note:
The formtarget attribute can be used with type="submit" and type="image".
Example
A form with two submit buttons, with different target windows:
First name:
Last name:
value="Submit to a new window">

Try it yourself �
height and width Attributes
The height and width attributes specify the height and width of an
element.
Note:
The height and width attributes are only used with
.
Tip:
Always specify both the height and width attributes for images. If height and width are set, the space required for the image is reserved when the page is loaded. However, without these attributes, the browser does not know the size of the image, and cannot reserve the appropriate space to it. The effect will be that the page layout will change during loading (while the images load).
Example
Define an image as the submit button, with height and width attributes:

Try it yourself �
list Attribute
The list attribute refers to a
element that contains pre-defined options for an
element.
Example
An
element with pre-defined values in a
:


Try it yourself �
min and max Attributes
The min and max attributes specify the minimum and maximum value for an
element. The
TYPE MUST BE NUMBER NOT TEXT
Note:
The min and max attributes works with the following input types: number, range, date, datetime, datetime-local, month, time and week.
Example
elements with min and max values:
Enter a date before 1980-01-01:
Enter a date after 2000-01-01:
Quantity (between 1 and 5):
Try it yourself �
multiple Attribute
The multiple attribute is a boolean attribute.
When present, it specifies that the user is allowed to enter more than one value in the
element.
Note:
The multiple attribute works with the following input types: email, and file.
Example
A file upload field that accepts multiple values:
Select images:
Try it yourself �
pattern Attribute
The pattern attribute specifies a regular expression that the
element's value is checked against.
Note:
The pattern attribute works with the following input types: text, search, url, tel, email, and password.
Tip:
Use the global
title
attribute to describe the pattern to help the user.
Tip:
Learn more about
regular expressions
in our JavaScript tutorial.
Example
An input field that can contain only three letters (no numbers or special characters):
Country code:
Try it yourself �
placeholder Attribute
The placeholder attribute specifies a short hint that describes the expected value of an input field (e.g. a sample value or a short description of the expected format).
The short hint is displayed in the input field before the user enters a value.
Note:
The placeholder attribute works with the following input types: text, search, url, tel, email, and password.
Example
An input field with a placeholder text:

Try it yourself �
required Attribute
The required attribute is a boolean attribute.
When present, it specifies that an input field must be filled out before submitting the form.
Note:
The required attribute works with the following input types: text, search, url, tel, email, password, date pickers, number, checkbox, radio, and file.
Example
A required input field:
Username:
Try it yourself �
step Attribute
The step attribute specifies the legal number intervals for an
element.
Example: if step="3", legal numbers could be -3, 0, 3, 6, etc.
Tip:
The step attribute can be used together with the max and min attributes to create a range of legal values.
Note:
The step attribute works with the following input types: number, range, date, datetime, datetime-local, month, time and week.
Example
An input field with a specified legal number intervals:

Try it yourself �
HTML5
Tag
Tag
Description
Defines an HTML form for user input
Defines an input control
Html5



1833
05/05/2026
Html5 Formatting New Html Types
color

Note: Not all major browsers support all the new input types. However, you can already start using them; If they are not supported, they will behave as regular text fields.


Input Type: color

The color type is used for input fields that should contain a color.

Opera Safari Chrome Firefox Internet Explorer

Example

Select a color from a color picker:

Select your favorite color:

Try it yourself »


Input Type: date

The date type allows the user to select a date.

Opera Safari Chrome Firefox Internet Explorer

Example

Define a date control:

Birthday:

Try it yourself »


Input Type: datetime

The datetime type allows the user to select a date and time (with time zone).

OperaSafariChromeFirefoxInternet Explorer

Example

Define a date and time control (with time zone):

Birthday (date and time):

Try it yourself »


Input Type: datetime-local

The datetime-local type allows the user to select a date and time (no time zone).

OperaSafariChromeFirefoxInternet Explorer

Example

Define a date and time control (no time zone):

Birthday (date and time):

Try it yourself »


Input Type: email

The email type is used for input fields that should contain an e-mail address.

OperaSafariChromeFirefoxInternet Explorer

Example

Define a field for an e-mail address (will be automatically validated when submitted):

E-mail:

Try it yourself »

Tip: Safari on iPhone recognizes the email type, and changes the on-screen keyboard to match it (adds @ and .com options).


Input Type: month

The month type allows the user to select a month and year.

OperaSafariChromeFirefoxInternet Explorer

Example

Define a month and year control (no time zone):

Birthday (month and year):

Try it yourself »


Input Type: number

The number type is used for input fields that should contain a numeric value.

You can also set restrictions on what numbers are accepted:

OperaSafariChromeFirefoxInternet Explorer

Example

Define a numeric field (with restrictions):

Quantity (between 1 and 5):

Try it yourself »

Use the following attributes to specify restrictions:

  • max - specifies the maximum value allowed
  • min - specifies the minimum value allowed
  • step - specifies the legal number intervals
  • value - Specifies the default value

Try an example with all the restriction attributes: Try it yourself


Input Type: range

The range type is used for input fields that should contain a value from a range of numbers.

You can also set restrictions on what numbers are accepted.

OperaSafariChromeFirefoxInternet Explorer

Example

Define a control for entering a number whose exact value is not important (like a slider control):


Try it yourself »

Use the following attributes to specify restrictions:

  • max - specifies the maximum value allowed
  • min - specifies the minimum value allowed
  • step - specifies the legal number intervals
  • value - Specifies the default value

Input Type: search

The search type is used for search fields (a search field behaves like a regular text field).

OperaSafariChromeFirefoxInternet Explorer

Example

Define a search field (like a site search, or Google search):

Search Google:

Try it yourself »


Input Type: tel

OperaSafariChromeFirefoxInternet Explorer

Example

Define a field for entering a telephone number:

Telephone:

Try it yourself »


Input Type: time

The time type allows the user to select a time.

OperaSafariChromeFirefoxInternet Explorer

Example

Define a control for entering a time (no time zone):

Select a time:

Try it yourself »


Input Type: url

The url type is used for input fields that should contain a URL address.

The value of the url field is automatically validated when the form is submitted.

OperaSafariChromeFirefoxInternet Explorer

Example

Define a field for entering a URL:

Add your homepage:

Try it yourself »

Tip: Safari on iPhone recognizes the url input type, and changes the on-screen keyboard to match it (adds .com option).


Input Type: week

The week type allows the user to select a week and year.

OperaSafariChromeFirefoxInternet Explorer

Example

Define a week and year control (no time zone):

Select a week:

Try it yourself »
Html5



1210
05/05/2026
Html5 Language Html5
html5
Html5



6
05/05/2026
Javascript Archive Gps Google Map Copy
gps
Google Map Calculations Backup
Javascript



3
05/05/2026
Javascript Controls List Box Controls Another Listbox And Fills In A Text Box
list box text box onchange header dropdown
Search & PHPScript 2025/12
Javascript



5
09/23/2026
Javascript Customizing How To Setup TinyMCE Text Editor
text editor
Scripture View
Javascript



5
05/05/2026
Javascript Date Preload Current Date Into Text Box
form current date
Javascript



6
05/05/2026
Javascript Date Check For Valid Date
valid date
Sample html:




Valid date format: mm/dd/yyyy




The Script:
Javascript



1550
05/05/2026
Javascript Form Input - First Caps And Open In New Window
onclick location window open tab capital first onblur
CustomerList.php
Javascript



1600
07/28/2026
Javascript Form Form Fields - Events
form events onchange
Javascript



2029
05/05/2026
Javascript Form Prompt For
prompt input
Back in the day, you'd often see prompts on personal webpages asking for your name. After you typed in the information, you would be greeted with a page that had a welcome message, such as, "Welcome to My Personal WebPage John Schmieger!" (If your name just so happened to be John Schmieger).

The JavaScript prompt is not very useful and many find it slightly annoying, but hey, this tutorial is here to educate you, so let's learn how to make that prompt!

Simple JavaScript Prompt
You can use a prompt for a wide variety of useless tasks, but below we use it for an exceptionally silly task. Our prompt is used to gather the user's name to be displayed in our alert dialogue box.

HTML & JavaScript Code:






Display:

Recap on JavaScript Prompt
It sure is a quick way to gather some information, but it is not as reliable an information gatherer as other options available to you. If you want to find out someone's name and information, the best way to request this information would be through the use of HTML Forms. And if you want to use the information you collected in your website, you might use some PHP to get that job done in a more sophisticated manner.
Javascript



1479
05/05/2026
Javascript Form Select- Combo Box
index combo
function message(form){
var value = form.payment.options[form.payment.selectedIndex].value;
var message="";
if(value=="PHONE"){
message="Complete your order by scrolling to the bottom of this page and clicking the NEXT button.\n\n That will complete your order and provide you with your order number and total.\n\n I accept Visa or MasterCard.\n\n Call Denise at 970-454-2152 or cell phone at 970-590-2162.\n\n I will need your order # and the total amount of your order. Please provide me with your credit card number, expiration date, and the last 3 digits of the number on the back of your card.\n\n I also need the billing address of the credit card if you did not provide it on the order form. If for some reason I am unable to take your call, please leave me a message and I'll call you back as soon as possible. You may leave this information on my answering machine.\n\n Please call between 7:30am and 9:30pm (Mountain Standard Time) 9:30am and 11:30pm (Eastern Standard Time).\n\n Thank You.";
}
if(value=="CHECK"){
message="You have selected pay by check";
}
if(value=="MONEY ORDER"){
message="You have selected MONEY ORDER";
}
if(value=="PAYPAL"){
message="If you are paying by credit card with our secure online page, we accept Visa, MasterCard, Discover and American Express.\n\nIf you do not receive a confirmation email after completing the credit card payment, we will not be notified either. Contact us to confirm your order.";
}
alert (message);
}
*************



[example 2]

How do I find the value of a SELECT element?
Apr 17th, 2000 16:04
Martin Honnen,




NN6 and IE4+ provide a
value
property for SELECT elements thus
document.formName.selectName.value
is sufficient with these browsers. For other browsers and cross browser
code use
var select = document.formName.selectName;
var value = select.options[select.selectedIndex].value

__________________________________
[select name='navi' onChange="go()">
function go()
{
box = document.forms[0].navi;
destination = box.options[box.selectedIndex].value;
if (destination) location.href = destination;
}
____________________________________________________
Where: qxq-features.php
Javascript



1756
11/11/2026
Javascript Form Select - Check To See If Your Select Has Been Used
select form javascript getelementbyid
If you have a select element that looks like this:


Running this code:
var e = document.getElementById("ddlViewBy");
var strUser = e.options[e.selectedIndex].value;

Would make strUser be 2. If what you actually want is test2, then do this:
var e = document.getElementById("ddlViewBy");
var strUser = e.options[e.selectedIndex].text;

Which would make strUser be test2

var e = document.getElementById("ddlViewBy");
var SELIndex = e.selectedIndex
if (SELIndex==0){
error_message = error_message + '*Select something from xx.\n';
error = 1;
}

if you want to see if the select has nothing selected.?





javascript code:
var e = document.getElementById("comoperationid");
var SELIndex = e.selectedIndex
if (SELIndex==0){
error_message = error_message + '*Select something from operationid.\n';
error = 1;
}
Javascript



766
11/11/2026
Javascript Formatting Div - Hide A Layer
hide div layer class getElementById getElementsByClassName example
Create Folder-file List
Javascript



1880
05/05/2026
Javascript Formatting Converting Numbers To Strings Using ToFixed()
fixed decimal places number format
Question: When I convert numbers to strings, can I guarantee exactly n decimal places in the resultant string?

Answer: The simplest way of converting a number variable to string is to concatenate the variable with an empty string. However, this conversion does not guarantee the number of decimal places in the string. If you want exactly n decimal places in the conversion result, use the toFixed method, like this:

str = x.toFixed(n);

Here x is the number to be converted, the string str is the conversion result, and n specifies how many fractional decimal places must appear in the resultant string. The method can also be used without the parameter n - you can simply write: x.toFixed(), which is equivalent to x.toFixed(0). Consider these examples:

var x = 2.31;
var s = x.toFixed() // result: '2'
var s0 = x.toFixed(0) // result: '2'
var s1 = x.toFixed(1) // result: '2.3'
var s2 = x.toFixed(2) // result: '2.31'
var s3 = x.toFixed(3) // result: '2.310'
var s4 = x.toFixed(4) // result: '2.3100'

The toFixed method might not always ensure the correct rounding of the conversion results. For example, (0.947).toFixed(0) may produce either '0' or '1', depending on the browser; in most versions of Microsoft Internet Explorer (0.947).toFixed(0) produces '0' while in Mozilla Firefox or Google Chrome the same conversion produces '1'. Below are the actual conversion results in your browser:

(0.947).toFixed(0) // '0' ('0' in MSIE, but '1' in Firefox)
(0.0947).toFixed(1) // '0.0' ('0.0' in MSIE, but '0.1' in Firefox)
(0.00947).toFixed(2) // '0.00' ('0.00' in MSIE, but '0.01' in Firefox)
(0.000947).toFixed(3) // '0.000' ('0.000' in MSIE, but '0.001' in Firefox)

For correct rounding, use the Math.round method or Math.round in combination with toFixed like this:
x=0.947; s0=(Math.round(x)).toFixed(0) // '1'
x=0.0947; s1=(Math.round(10*x)/10).toFixed(1) // '0.1'
x=0.00947; s2=(Math.round(100*x)/100).toFixed(2) // '0.01'
x=0.000947; s3=(Math.round(1000*x)/1000).toFixed(3) // '0.001'
Javascript



1554
05/05/2026
Javascript Function Load Popup Window
open window popup
Javascript



1760
05/05/2026
Javascript Function GetElementById
getelementbyid get element by id
Javascript



1253
05/05/2026
Javascript Function GetElementById
javascript form tags id= SWD
J = InStr(CODE2, "## " + "##") : CODE2 = Left(CODE2, J - 1)
For J = 0 To TMPA.Count - 1
If InStr(CODE2, "##" + TMPA(J) + "##") = 0 Then NotFound = True : CODE2 = CODE2 + "##" + TMPA(J) + "##" + vbCR
Next
CODE2 = CODE2 + "## " + "##" + vbCR
If NotFound = True Then My.Computer.FileSystem.WriteAllText(Tree2 + Filename + "Code.txx", CODE2, append:=False)
Javascript



1012
05/05/2026
Javascript Function Bearing
Bearing heading latitude longitude
GPS
Javascript



4
05/05/2026
Javascript Function List Of Functions
javascript functions
Javascript



2027
05/05/2026
Javascript Function Insert Commas In Your Number As You Type
insert comma
function addCommas(nStr)
{
nStr += '';
x = nStr.split('.');
x1 = x[0];
x2 = x.length > 1 ? '.' + x[1] : '';
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, '$1' + ',' + '$2');
}
return x1 + x2;
}
_________________________________
[As you type]
example IWS-order_productsSub.php

function checkit(id1){
var key1= window.event.keyCode
if (key1>57 || key1<48){
return;
}
document.getElementById('li'+id1).checked=true;
nStr=document.getElementById(id1).value;
var start1=1000;
while(start1!=-1){
start1= nStr.indexOf(",");
nStr=nStr.replace(",","");
}
nStr += '';
x = nStr.split('.');
x1 = x[0];
x2 = x.length > 1 ? '.' + x[1] : '';
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, '$1' + ',' + '$2');
}
document.getElementById(id1).value=x1+x2;
}
Javascript



1347
05/05/2026
Javascript Function Confirm()
yes no cancel message box
Javascript



2002
05/05/2026
Javascript Function Is Javascript Enabled
enable javascript
JavaScript - Is it Enabled?
This lesson will first teach you how to enable JavaScript in Internet Explorer, Firefox, and Opera, then show you how you can write a very simple script to separate website visitors who don't have JavaScript enabled from those who do.

Advertise on Tizag.com
Enable JavaScript - Internet Explorer
In Internet Explorer 6/7 (download Internet Explorer), you can check to see if JavaScript is enabled by navigating to the custom security settings that are somewhat buried (don't worry; we'll help you find it).

1.Click on the Tools menu
2.Choose Internet Options... from the menu
3.Click the Security tab on the Internet Options pop up
4.Click the Custom Level... button to access your security settings
5.Scroll almost all the way down to the Scripting section
6.Select the Enable button for Active scripting
7.Click OK to finish the process
8.Click Yes when asked to confirm

Enable JavaScript - Firefox
In Firefox 2 (download Firefox) you can check to see if JavaScript is enabled by navigating to the Content settings under Options.

1.Click on the Tools menu
2.Choose Options... from the menu
3.Click the Content tab in the Options pop up
4.Make sure that Enable JavaScript is checked
5.Click OK to finish the process

Enable JavaScript - Opera
In Opera (download Opera) you can check to see if JavaScript is enabled by navigating to the Content settings under Preferences.

1.Click on the Tools menu
2.Choose Preferences... from the menu
3.Click the Advanced tab in the Preferences pop up
4.Select Content from the list of items on the left
5.Make sure that Enable JavaScript is checked
6.Click OK to finish the process
JavaScript Detection
These days, it's basically impossible to navigate the web without a JavaScript-enabled browser, so checking whether or not a user has JavaScript enabled is not all that important. Chances are, the only way it be disabled is if the company's IT staff has decided to disable JavaScript for some reason. However, if you still want to be sure your users are JavaScript enabled, this script will get it done.

The only sure fire way to separate users who don't have JavaScript from those who do is to use a simple redirect script that will only work for those with JavaScript enabled. If a person's browser does not have JavaScript enabled, the script will not run, and they will remain on the same page.

JavaScript Code:

Replace the example URL with the webpage of your choice
Javascript



1213
05/05/2026
Javascript Function While Loop
while loop
Javascript



1172
05/05/2026
Javascript Function Comment Out Lines
comment rem
Creating Single Line Comments
To create a single line comment in JavaScript, you place two slashes "//" in front of the code or text you wish to have the JavaScript interpreter ignore. When you place these two slashes, all text to the right of them will be ignored, until the next line.

These types of comments are great for commenting out single lines of code and writing small notes.

JavaScript Code:


Display:
I have comments in my JavaScript code!
Each line of code that is colored red is commented out and will not be interpreted by the JavaScript engine.

Creating Multi-line Comments
Although a single line comment is quite useful, it can sometimes be burdensome to use when disabling long segments of code or inserting long-winded comments. For this large comments you can use JavaScript's multi-line comment that begins with /* and ends with */.

JavaScript Code:


Display:
I have multi-line comments!
Quite often text editors have the ability to comment out many lines of code with a simple key stroke or option in the menu. If you are using a specialized text editor for programming, be sure that you check and see if it has an option to easily comment out many lines of code!
Javascript



1509
05/05/2026
Javascript Function Date And Time
date time
Javascript



1571
05/05/2026
Javascript Function Determine If An Array Checkbox Or Radiobutton Has Been Checked
checkbox array radio button checked
Checkboxes can be used as arrays and the value can be collected using JavaScript. We will be discussing client side JavaScript and the collection of checkbox value. You can visit the php section for checkbox array handling using PHP server side scripting. We can create a group of checkbox by giving them the same name and that will create an array and from it we can collect the names of the check boxes for which it is checked.

Here are some commands we will be using to get the details of the events or actions we perform.

document.form1.scripts.length

This gives us the length of the array or the number of elements present in the array. If we know we are using 5 checkboxes then we can directly use the number 5 but it is a good to use this as this picks up all the checkboxes of the group without missing any checkbox. Note that the word scripts in the document.form1.scripts.length is the name of the array and same as the checkboxes name.
document.form1.scripts[i].checked

The above command will return true if the checkbox is checked so we will use one if condition to know it is checked or not. The value of i is the index of the array and as we will be using one for loop so the value of i will be changing upto the maximum value. Here is the demo of the script. SexMale Female
Scripts You knowJavaScript PHP HTML

The JavaScript code is kept within the head tag of the page.



To display the period button and checkboxes see the code below. BODY










SexMale Female
Scripts You knowJavaScript PHP HTML
Javascript



1650
05/05/2026
Javascript Function Label - Changing A Label On A Web Page
update label update caption innerHTML
Javascript



1367
05/05/2026
Javascript Function SELECT - Using To Update Page
combo redirect url location href wordpress getelementbyid window open
Javascript



1653
07/28/2026
Javascript Function Saving Textbox Value To Cookie
cookie
Html Cookies
Javascript



2
10/03/2026
Javascript Function Submitting A Form And Running Javascript
submit button
Submit With Javascript
Javascript



0
09/04/2026
Javascript Language For Statement
for
Loops
Javascript



4
05/05/2026
Javascript Link Using A Button As A Hyperlink
button hyperlink
With an ordinary HTML link using the tag you can target the page that the link refers to so that it will display in another window or frame. Of course the same can also be done from within Javascript.

To target the top of the current page and break out of any frameset currently in use you would use
in HTML. In Javascript you use:

top.location.href = 'page.htm';
To target the current page or frame you can use
in HTML. In Javascript you use:

self.location.href = 'page.htm';
To target the parent frame you can use
in HTML. In Javascript you use:

parent.location.href = 'page.htm';
To target a specific frame within a frameset you can use
in HTML. In Javascript you use:

top.frames['thatframe'].location.href = 'page.htm';
To target a specific iframe within the current page you can use
in HTML. In Javascript you use:

self.frames['thatframe'].location.href = 'page.htm';
or
parent.right.location.href= `Loads file into window or frame right`
Javascript



1626
05/05/2026
Javascript Object .select(); Clipboard
Clipboard object of document.getElementById().select;
Javascript



2
05/05/2026
Javascript Printing Print Web Page
print button
The JavaScript print function window.print() will print the current webpage when executed. In this example script, we will be placing the function on a JavaScript button that will perform the print operation when the onClick event occurs.

HTML & JavaScript Code:


Javascript



1425
05/05/2026
Javascript String String Manipulations
replace indexof substring length
indexOf:
var ss = "a string index of test ";
var result = ss.indexOf("ri");

length:


Replace Function: Global Regular Expression
By enabling the global property of our regular expression, we can go from replacing one match at a time to replacing all matches at once. To enable the global property, just put a "g" at the end of the regular expression.

replace:

Display:
Old string = Hello username! I hope you enjoy your stay username.
New string = Hello Chuck! I hope you enjoy your stay Chuck.

substring:

The output of the code above will be: lo w

Question: How do I convert numbers to strings in JavaScript?

Answer: The simplest way to convert any variable to a string is to add an empty string to that variable (i.e. concatenate it with an empty string ''), for example:


a = a+'' // This converts a to string
b += '' // This converts b to string

5.41 + '' // Result: the string '5.41'
Math.PI + '' // Result: the string '3.141592653589793'
Javascript



1248
05/05/2026
Javascript String Array Information
length array size count
Javascript



1298
05/05/2026
Javascript Text Box Auto Clear Text Box
Input text - auto clear
w






FIND A STORE




onblur="this.value=(this.value=='') ? 'Enter a Zip Code' : this.value;"
onfocus="clearText(this);" value="Enter a Zip Code" />
Javascript



1462
05/05/2026
Javascript Text Box Move To Next Field Automatically When Textbox Is Full
auto move text box event keycode focus
function moveOn(field,nextFieldID,e){
var unicode=e.keyCode? e.keyCode : e.charCode
if(unicode!=39 && unicode!=37){
if(field.value.length >= field.maxLength){
document.getElementById(nextFieldID).focus();
}
}
}


-
-
";
Javascript



1544
05/05/2026
Javascript Variables Using Math In Functions
float integer math parse gps distance heading bearing
Javascript Math
function getPointAtDistance(lat1, lon1, distance, bearing) {
const R = 6371e3; // Earth's radius in meters
const d = distance; // Distance in meters

const lat1Rad = toRadians(lat1);
const lon1Rad = toRadians(lon1);
const brngRad = toRadians(bearing);

const lat2Rad = Math.asin(
Math.sin(lat1Rad) * Math.cos(d / R) +
Math.cos(lat1Rad) * Math.sin(d / R) * Math.cos(brngRad)
);

const lon2Rad = lon1Rad + Math.atan2(
Math.sin(brngRad) * Math.sin(d / R) * Math.cos(lat1Rad),
Math.cos(d / R) - Math.sin(lat1Rad) * Math.sin(lat2Rad)
);

return {
latitude: toDegrees(lat2Rad),
longitude: toDegrees(lon2Rad)
};
}

function toRadians(deg) {
return deg * (Math.PI / 180);
}

function toDegrees(rad) {
return rad * (180 / Math.PI);
}

===================
function toRadians(degrees) {
return degrees * Math.PI / 180;
}

// Converts from radians to degrees.
function toDegrees(radians) {
return radians * 180 / Math.PI;
}

function bearing(startLat, startLng, destLat, destLng){
startLat = toRadians(startLat);
startLng = toRadians(startLng);
destLat = toRadians(destLat);
destLng = toRadians(destLng);

y = Math.sin(destLng - startLng) * Math.cos(destLat);
x = Math.cos(startLat) * Math.sin(destLat) -
Math.sin(startLat) * Math.cos(destLat) * Math.cos(destLng - startLng);
brng = Math.atan2(y, x);
brng = toDegrees(brng);
return (brng + 360) % 360;
}
function distanceHeading(lat1,lon1,lat2,lon2){
var distance=getDistanceFromLatLonInKm(lat1,lon1,lat2,lon2);
var heading=bearing(lat1,lon1,lat2,lon2);
alert(distance+" -> "+heading+" degrees");
var complete=lat1+","+lon1+"; "+distance+" -> "+heading+" degrees; "+lat2+", "+lon2+"nn";
document.getElementById("piled").value=document.getElementById("piled").value+complete;
}
function circleDistance(lat1,lon1,lat2,lon2){
var distance=getDistanceFromLatLonInKm(lat1,lon1,lat2,lon2);
var distance100=2*3.141596*parseFloat(distance);
var width=60/43560;
var distance50=distance100/2;
var distance25=distance100/4;
alert("full circle="+parseInt(distance100)+" ft ==== half circle="+parseInt(distance50)+" ft ====== quarter circle="+parseInt(distance25)+" ft");
alert("full circle area="+distance100*width+" acre ==== half circle area="+distance50*width+" acre ====== quarter circle area="+distance25*width+" acre");
}
Javascript



3
05/05/2026
Microsoft Excel Archive Module 3
vba module
Crop Production
Microsoft Excel



0
06/04/2026
Microsoft Excel Clipboard Text Import Wizard
csv delimited special formatting
Microsoft Excel



1091
05/05/2026
Microsoft Excel Customizing Creating Ranges In Excel
range
Crops
Quick Methods to Name Ranges
Method 1: Using the Name Box (Fastest)

  1. Select the cells or range you want to name.
  2. Click into the Name Box (the empty box just to the left of the formula bar).
  3. Type a name (remember: no spaces or special characters are allowed; use underscores instead of spaces, like Total_Sales).
  4. Press Enter to save the name.
Microsoft Excel



0
05/18/2026
Microsoft Excel Customizing Lock The Top Row / Header When Scrolling In Excel & Google Sheets
freeze lock
Headers
excel freeze panes example
Freeze Top Row
In a large worksheet with headings, you might want to make sure that the top row repeats when scrolling, so you can always see it.
In the Ribbon, select View > Freeze Panes.
excel freeze panes ribbon
Select Freeze Top Row.
As you scroll down in your worksheet, the top row remains visible regardless of how far you scroll.
excel freeze panes row68
To remove the freeze, select Unfreeze Panes from the Freeze Panes menu.
excel freeze panes unfreeze
Freeze Panes

You can also freeze more than one row at a time.

  1. Position your cursor in the row below the rows you wish to freeze.
  2. In the Ribbon, select View > Freeze Panes > Freeze Panes.
    excel freeze rows multiple rows


The worksheet freezes Rows 1 to 3. If you scroll down, these rows remain in view.
excel freeze panes multiple rows example
To remove the pane freeze, select Unfreeze Panes from the Freeze Panes menu.
Try our AI Formula Generator
Ex. Sum all values in Column B where Column A equal Q1
Generate



Freeze Top Row in Google Sheets
The process is similar in Google Sheets
In the Menu, click View > Freeze > 1 row.
excel freeze panes google sheets menu
As you scroll down, the top row remains in place.

Microsoft Excel



3
05/18/2026
Microsoft Excel Customizing Adding A Color To Alternate Rows
color alternate rows
Filter List
Adding a color to alternate rows or columns (often called color banding) can make the data in your worksheet easier to scan. To format alternate rows or columns, you can quickly apply a preset table format. By using this method, alternate row or column shading is automatically applied when you add rows and columns.

Table with color applied to alternate rows

Here's how:

Select the range of cells that you want to format.

Go to Home > Format as Table.

office 365 asks for cell range. Remove "I have headers" checkmark. You can uncheck the headers box and it will remove the headers it creates. Delete the cells and move the cells up

Pick a table style that has alternate row shading.

To change the shading from rows to columns, select the table, under Table Design, and then uncheck the Banded Rows box and check the Banded Columns box.
Microsoft Excel



2
05/05/2026
Microsoft Excel Form Button To Go To A Certain Sheet
button sheet delete range
Steps to Create a Macro Button

Show Developer Tab: If not visible, right-click any tab on the ribbon, select Customize the Ribbon, and check the Developer box.
Insert Button: Go to the Developer tab > Insert > Click the first icon under Form Controls (Button).
Draw Button: Click and drag on your worksheet to create the button.
Assign Macro: The "Assign Macro" window will automatically appear; choose the macro you want to run and click OK.
Edit Text: Right-click the button, select Edit Text, and rename it to represent its action (e.g., "Run Report").


Solution 1
Alternately, if you are using a Macro Enabled workbook:

Add any control at all from the Developer -> Insert (Probably a button)

When it asks what Macro to assign, choose New. For the code for the generated module enter something like:

Thisworkbook.Sheets("Sheet Name").Activate



1. Clear Only Values (Keep Formatting)
The Range.ClearContents method is the most common way to empty cells while preserving their background colors, borders, and fonts

Sub ClearValuesOnly()
' Clears only the data in cells A1 to C10
Range("A1:C10").ClearContents
End Sub


Microsoft Excel



4
05/05/2026

Software Web Design