Skip to content
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
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
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
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 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
While Loop – Read all of array
Window.open
JavaScript plus sign in front of variable
9th August 2016
Javascript
It looks so wrong!
But the extra plus sign converts the variable to a number if its a string.
var mytotal = (+Sales.value) + (+Returns.value);
1
2
3
var
mytotal
=
(
+
Sales
.
value
)
+
(
+
Returns
.
value
)
;
Was this code snippet helpful?
Yes
40
No
6
Exclude category from blog while adding them to sitemap.xml
What Router can I use with Onestream Broadband?
Firefox 113 (2023) Tabs on top/bottom not working fixed again
Disable buying – Woocommerce
Windows Desktop Wallpaper Background for OCD users with shelves
Featured Image Admin Thumb – Working Plugin (WordPress 6.2)
Create a gallery in a Posts page
Clickable elements too close together – Solved
Best ChatGPT Prompts
Make Elementor Accordion Closed by Default
noindex a specific page in WordPress using functions file
A random number picker that picks 6 numbers from 1 to 49 but only once
Sticky header – Logo smaller and adds border on scroll
Editor Only CSS – Elementor Sticky Header
Change Woocommerce Dropdowns to Radio Buttons
Get character count of a string saved in database – html_entity_decode not working
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