Our Latest Content
JavaScript Change Placeholder Text
You can use the following JavaScript code snippets to change the placeholder text. // Option #1 – Plain JS document.getElementById(“someId”).placeholder = “newText”; // Option #2…
JavaScript Change Text Size
TL;DR: Here is a code snippet that you can use to change the text size. There is a full application in the post going over…
JavaScript Change Text of Button on Click
TL;DR: Here is a code snippet that you can use to change the text of a button when you click on it. There is a…
JavaScript Change Address Bar Without Reload
TL;DR: Here are code snippets you can use to change the address bar without reloading the page. Check out the post for an example application…
JavaScript Change Background Color – With Application
TL;DR: Here is a code snippet you can use to change the background color of an element. (There is a full application in the post…
JavaScript Check if Checkbox is Checked
In this post we are going to work with checkboxes. We will look at how we can check if checkboxes are checked, how we can…