Category: Jquery

Restrict keyboard character input with jQuery jquery

Restrict keyboard character input with jQuery

For validating input, pressed key ASCII code and check it. If you don’t know the ASCII code of a character then you can view it from here and define your condition in keypress Event handler. Example <div class=”container”> <input type=’text’ id=’name’ placeholder=’Enter your name’><br/><br/> <input type=’text’ id=’age’ placeholder=’Enter your age’> </div> <!– Script –> <script> $(document).ready(function(){ $(“#age”).keypress(function(e){ var keyCode […]

How to Dynamic Select Option Menu Using Ajax, Mysql and PHP

In this tutorial, we will show you how to implement relational dropdown of state to city using jQuery, Ajax, PHP, and MySQL. Means state is related to city. Based on changing of state & city will be fetched from the database without reloading the page using jQuery, Ajax, PHP, and MySQL. You may also like How […]

How to Create a Simple Login Form on Popup Box Using jQuery and PHP php

How to Create a Simple Login Form on Popup Box Using jQuery and PHP

There was a requirement to create a LOGIN form in the Pop up box instead of creating a login page separately. This provides a great user experience by not redirecting to another login page. This write up will help you to create a login form in Popup box using jQuery. You may also like How to […]

How to Multiple Select limit number of selection using jQuery

I was doing to set a max-limit of selection on drop down list as one user select if(max limit is 2) of the options other will not select automatically. You may also like How to Send HTML Form array in Codeigniter using Ajax and How to Submit Multiple Form array in Codeigniter using Ajax. HTML Code Jquery Code

How to destroy Fullcalendar

Restores the element to the state before FullCalendar was initialized. Removes elements, events handlers, and internal data with check below example. You may also like How to integrate jQuery Fullcalendar using Codeigniter and MySQL and How to add button header in Fullcalendar Code

How to BootstrapValidator after submit form using Ajax in PHP php

How to BootstrapValidator after submit form using Ajax in PHP

jQuerys serialize() method to get the form data, and then ajax() methods to send the data to the back-end endpoint. After clicking the submit button, FormValidation will submit the form if all the fields are valid. If you want to do additional tasks instead of submitting the form, you can trigger the success.form.fv event. We […]

How to session timeout warning with countdown using PHP, Ajax, and HTML

In this tutorial we will show you how to display session timeout warning with countdown using PHP, Ajax and HTML.When user logged in using login form we display a countdown and after the countdown end user will be logged out automatically. HTML and jQuer Code PHP Code (logout.php)

How to generate random username using PHP, Ajax, and MySQL

In this tutorial we are going to learn how to generate unique or random username using php and jquery ajax. just follow the below step to generate unique username in php. You may also like How to Check UserName and Email Availability From Database using PHP and Ajax and How to Remote call using bootstrap validator. HTML and […]