Previously, we learned how to create a simple REST API in PHP. Today, we are going to learn how to create or insert, read, update and delete records with our JavaScript CRUD tutorial. We will use JavaScript, JSON, and PHP. Overview What Is AJAX? It stands for “Asynchronous JavaScript and XML“. I’ll try to explain… Continue reading JavaScript CRUD Tutorial – Step by Step Guide!
Category: JavaScript
Move Options Between Two Select Boxes
Today we are going to do a code that can move options between two select boxes and save the changes to the database. I think this functionality will improve the user experience since the interface is intuitive. In this example, we are going to have the first select box (left side) which contains the list… Continue reading Move Options Between Two Select Boxes
How To Use Vertical TinyDropdown 2
Hi guys, today I wanna share to you the code I tweaked with this amazing multi-level JavaScript Dropdown Menu by Scriptiny. In my opinion, it looks fast, smooth and clean. The hover animation is really nice. I love it. But there’s a problem. The script provided by Scriptiny is for horizontal dropdown menu only (as… Continue reading How To Use Vertical TinyDropdown 2
Sample Use of JavaScript OnFocus and OnBlur Event
You can see this example on many sites today such as yahoo mail. When you click on the search box, the word “Search” will go. When you click on another part of the webpage, the word “Search” comes back in it. HOW TOs. Step 1: Create your index.html file and put the following codes: TIPs… Continue reading Sample Use of JavaScript OnFocus and OnBlur Event