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 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
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
Prevent input field / textbox from being changed?
13th June 2013
Javascript
<script> document.getElementById("newval").readOnly = true; </script>
1
2
3
4
5
<script>
document
.
getElementById
(
"newval"
)
.
readOnly
=
true
;
</script>
Or you can use ‘disabled’ instead of ‘readOnly’
Was this code snippet helpful?
Yes
0
No
2
Firefox 133 Tabs on Top – Update Nov 24
Exclude category from blog while adding them to sitemap.xml
What Router can I use with Onestream Broadband?
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
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