Introduction The example – allow only numeric values or digits in a textbox using javascript or jquery – shows how to accept only numbers or digits in a textbox or input field using JavaScript or jQuery. Sometimes you need to accept only numbers for a textbox or input field instead of validating the value in…

Posted in JavaScript jQuery

Allow Only Numeric Values or Digits in a TextBox using JavaScript or jQuery

This example shows how you can use multiple versions of jQuery on the same page. It’s simple and very easy to use multiple versions using jQuery.noConflict(true). This jQuery.noConflict(true) was introduced in jQuery version 1.1. There are various reasons behind using the multiple versions of jQuery. Some reasons are given below: You have already used a…

Posted in jQuery

Using multiple versions of jQuery on same page

Introduction This tutorial shows an example on how to drag-and-drop the item to the specific location. For drag-and-drop functionality please refer to http://jqueryui.com/ Usage of Drag and Drop Drag-and-Drop can be very useful to interact with the web application. We often use drag-and-drop features in many areas like     moving email from inbox to different…

Posted in jQuery

Drag and Drop example with jQuery

Introduction This tutorial shows an example how to add input fields to form dynamically using jQuery. Input field types may be text, textarea or file to the form. We also have added remove button next to the added input field to remove the field if you do not need it. For this example, I have…

Posted in HTML jQuery

Add input fields to form dynamically using jQuery

Introduction Here is an example on more file upload button attachment dynamically using jQuery. This example will allow you to attach more file upload button dynamically. The technology I will use here to attach more file upload button using JavaScript and jQuery. Note that this example will not show you how to upload file or…

Posted in File Upload JavaScript jQuery

More file upload button attachment dynamically using jQuery

Introduction This tutorial shows how to create nested comment system in PHP MySQL and AJAX. This nested comment system is also called hierarchical comment system. Here I will use MySQL database and jQuery library. This threaded or nested comment system in PHP AJAX accepts reply up to maximum of five level depth. If you want…

Posted in AJAX jQuery PHP

Nested Comments System in PHP, MySQL and AJAX