Home
Helium
What is a Helium Hotspot?
How to Install a Helium Hotspot
Helium Maps and Elevation Measuring
Helium Hotspot Cables and Connections
Port Forwarding – Helium Miner
Things to Consider when installing a Helium Miner
Helium Hotspot Antenna Gallery
Best Stablecoin Investing Websites
Helium Staking
Crypto Blog
HotspotRF Referral code 2022
PHP
Php – Arrays
Php – Csv
Php – Dates & Time
Php – Email
Php – Loops
Php – Maths
Php – Miscellaneous
Php – Strings
Jquery
Jquery – Ajax
Jquery – Forms Posting
Jquery – Modals
Jquery – Strings
Jquery – Tricks
Jquery – Validation
Jquery – Variables
Jquery – Misc
MySQL
CSS
Javascript
WordPress
Admin – WP
WooCommerce
WordPress – Get
WordPress – Miscellaneous
WordPress – Show
Misc
Firefox
Python
Random Coding
Raspberry Pi
Reviews
SEO
SEO News
Sublime Text
Windows
Menu
Home
Helium
What is a Helium Hotspot?
How to Install a Helium Hotspot
Helium Maps and Elevation Measuring
Helium Hotspot Cables and Connections
Port Forwarding – Helium Miner
Things to Consider when installing a Helium Miner
Helium Hotspot Antenna Gallery
Best Stablecoin Investing Websites
Helium Staking
Crypto Blog
HotspotRF Referral code 2022
PHP
Php – Arrays
Php – Csv
Php – Dates & Time
Php – Email
Php – Loops
Php – Maths
Php – Miscellaneous
Php – Strings
Jquery
Jquery – Ajax
Jquery – Forms Posting
Jquery – Modals
Jquery – Strings
Jquery – Tricks
Jquery – Validation
Jquery – Variables
Jquery – Misc
MySQL
CSS
Javascript
WordPress
Admin – WP
WooCommerce
WordPress – Get
WordPress – Miscellaneous
WordPress – Show
Misc
Firefox
Python
Random Coding
Raspberry Pi
Reviews
SEO
SEO News
Sublime Text
Windows
Search
Generic filters
Hidden label
Exact matches only
Javascript
Add current date to dropdowns
Adding form values (concatenation)
Adding to a javascript variable – ie (dog +1)
Allow only numbers in textbox onkeypress
Back button history -1
Blink – flash div or button – Javascript
Change background colour of element
Check if textboxes are empty
Check valid email field
Clock – Live update Time
Close Javascript window
Confirm, Ok – Cancel, Onsubmit
Converting Timestamp to get Y-D-M etc
Count numbers in string – Javascript
Count text length in Text Area
Create a HTML button that acts like a link?
Create a Random Password in Javascript
Decimal places – Javascript
Delete specific GET variable from URL
Encoding urls encodeURIComponent
Finding Variable Type in JavaScript
Get full url using javascript
Get length of variable – Javascript
Get part of string after a specific character – javascript
Get selected dropdown choice
Get url variable by Javascript
GetElementsByTagName
Global Variables in JavaScript
Highlight Element for validation
Hyperlink variable passing – Javascript
Insert a character each specific position
Javascript For Loop
Javascript Function Basic – Take of first part of url
Javascript Obfuscator – Protects JavaScript code
JavaScript plus sign in front of variable
Javascript slice/trim take off last character
JavaScript String includes()
Javascript variable conversion type -string to num
Jquery Simple Function – Re-use your code
Make a timer to run a function
Make Iframe with Javascript
Meta Tag – Refresh, Reload or redirect page
Onclick pure javascript – show div
Open javascript window centered
Pass Javascript variable into hidden input field
Pass javascript variable using input hidden form
pickaday – Set today
Pikaday today and in the past
Placeholder textbox onclick
Postcode address finder – Javascript
Prevent input field / textbox from being changed?
Print page using Javascript
Prioritys Javascript Vs Jquery
Redirect page – window.location
Refresh frame from another frame – Javascript
Reload parent window javascript
Remove spaces on keyup
Remove/delete specific letters javascript/jquery
Remove/Don’t show selected option from dropdown
Replace Character onkeydown Javascript
Replace Javascript string
Replace text in a div – javascript
Reset all dropdowns
Responsive screen size get width and height
Run Php function from Javascript
Sessions in Javascript
setTimeout – delay – timer
Split at specific character –
Split/explode Javascript by delimiter
Stop empty form submit – getElementbyId()
String replace – Remove spaces / whitespace Javascript
Strip Tags Javascript
Submit form automatically using Javascript
Tabs
Take off first letters – Javascript
Textbox jump and auto add zero for dates
Time – Countdown in Seconds
Todays date in Javascript
Trim & Replace UK Numbers Javascript
Trim left Javascript text
Trim to certain length – get specific characters – Javascript
Trim whitespace – Javascript
Uppercase & Lowercase- Sentence Case all letters – Javascript
Use javascript variable in html
Using two Javascript functions inline with one trigger
Validate before submitting form
Validation checkboxes stop submit
View an array in a javascript alert
Window.open
While Loop – Read all of array
19th April 2014
Javascript
<script> cars=["BMW","Volvo","Saab","Ford"]; var i=0; while (cars[i]) { document.write(cars[i] + "<br>"); i++; } </script>
1
2
3
4
5
6
7
8
9
10
<script>
cars
=
[
"BMW"
,
"Volvo"
,
"Saab"
,
"Ford"
]
;
var
i
=
0
;
while
(
cars
[
i
]
)
{
document
.
write
(
cars
[
i
]
+
"<br>"
)
;
i
++
;
}
</script>
Was this code snippet helpful?
Yes
1
No
0
Comment on this Code Snippet?
How to check if a checkbox has been ticked in Jquery
Firefox 89-100 (2022) Tabs on top/bottom not working fixed again
Slash canonicalization at the end of the URL – htaccess
Elementor json template files not uploading
Multiple featured images for blog posts
Autostart Browser in Kiosk Mode – Raspberry Pi 4 Terminal Command
Open Chromium full screen -Raspberry Pi (Kiosk mode)
Populate dropdown with data from database
Exclude a specific page from WordPress sitemap – wp-sitemap.xml
Firefox screenshot button missing – Version 88
Best FAQ Schema for Rich Results
WordPress sitemap not working after uninstalling Yoast
Send – Serialize form and send extra variables
Show time on Raspberry Pi from command line
wp-sitemap.xml not showing after disabling Yoast
WordPress app shows XML-RPC error
Recommended WordPress Security Headers in .htaccess
Basic Woocommerce Admin Tutorials
Get the ID of the last inserted record
Redirect your old website to other domain using .htaccess file
Import csv to phpmyadmin
Create a plugin with shortcode for Elementor – Most basic ever!
Add how many left in stock on products stock controlled only – Woocommerce
Add a dropdown to Woocommerce Checkout Fields