HTML form inputs based on a select element
Creating an HTML form that is dynamic based on what is selected. Certain form input elements will be shown based on the initial select dropdown. CodePen link. As you can…
Creating an HTML form that is dynamic based on what is selected. Certain form input elements will be shown based on the initial select dropdown. CodePen link. As you can…
Stopping or cancelling a setInterval call in Javascript involves using clearInterval. You must however use clearInterval on a variable that is assigned to the setInterval you want stopped. setInterval calls…
Creating a live search input form that matches the current input against a MySQL database using AJAX and PHP combined. I needed this to suite a “product select” project whereby…
Using PHP to upload a file through a HTML form is common, its completely normal in fact however expecting or trying to get a progress bar to track the upload…
Use cases are rare but displaying the live time on a webpage is a neat feature, perhaps for a dashboard or panel would it suit best. There is no need…
How to avoid images popping in after the page has loaded by loading in and displaying a much smaller one first. Credit to FThompson here at StackOverflow. I edited it…
Changing a websites background color based on client side (viewers) time is easily done with a small amount of vanilla Javascript. Changing a website background color or other styles has…
If you have ever wanted to add CSS hover effects to a Bootstrap well or jumbotron you will have found out that .well:hover{} doesn’t work. To add effects on hover…