This tutorial will show you how we can create combobox using jQuery. We will also alert the value when we select the item from the combobox or dropdown.

Posted in jQuery

Adding DropDown or ComboBox dynamically using jQuery

This AjaxEvent ajaxSuccess registers a handler to be executed whenever an Ajax request completes successfully. Whenever an Ajax request completes successfully, jQuery triggers the ajaxSuccess event. Any and all handlers that have been registered with the .ajaxSuccess() method are executed at this time. To observe this method in action, do the following

Posted in AJAX jQuery

jQuery ajaxSuccess

This AJAXEvent ajaxStart registers a handler to be executed when the first Ajax request begins. Whenever an Ajax request is about to be sent, jQuery checks whether there are any other outstanding Ajax requests. If none are in progress, jQuery triggers the ajaxStart event. Any and all handlers that have been registered with the .ajaxStart()…

Posted in AJAX jQuery

jQuery ajaxStart

This AJAXEvent ajaxSend registers a handler to be executed before an Ajax request is sent. Whenever an Ajax request is about to be sent, jQuery triggers the ajaxSend event. Any and all handlers that have been registered with the .ajaxSend() method are executed at this time. To observe this method in action, do the following

Posted in AJAX jQuery

jQuery ajaxSend

This AJAXEvent ajaxError registers a handler to be called when Ajax requests complete with an error. Whenever an Ajax request completes with an error, jQuery triggers the ajaxError event. Any and all handlers that have been registered with the .ajaxError() method are executed at this time. To observe this method in action, do the following

Posted in AJAX jQuery

jQuery ajaxError

This AJAXEvent ajaxComplete registers a handler to be called when Ajax requests complete. Whenever an Ajax request completes, jQuery triggers the ajaxComplete event. Any and all handlers that have been registered with the .ajaxComplete() method are executed at this time. To observe this method in action, do the following

Posted in AJAX jQuery

jQuery ajaxComplete

This tutorial shows how we can get currently selected checkbox’s value using jQuery. We can easily use the power of jQuery to check which checkbox is selected using is(“:checked”) and get the selected checkbox’s value using $(‘[name=”checkbox name”]:checked’).val(). Here we will get the selected value when a checkbox is clicked, so jQuery’s click() function is…

Posted in jQuery

Get selected checkbox’s value using jQuery

Introduction This tutorial shows how you can preview form using jQuery. Sometimes you need to preview form data before you submit the form for further processing. This gives us clear picture of what you have entered into the form and whether you need to rectify any data if you have entered incorrectly. This also saves…

Posted in HTML jQuery

Preview HTML Form Data using jQuery

Introduction This tutorial example shows how you can create a nice contact form using jQuery. The concept was taken from http://www.emblematiq.com/projects/niceforms/. This beautiful contact form may be useful in situations like you want to create a Contact Us/Me form on your website or you can also use this contact form for comment purpose for your…

Posted in HTML jQuery

Nice Contact Form Using jQuery

I am going to show you how to upload multiple files using PHP based Codeigniter framework. There is file upload class, in Codeigniter, which permits you to upload the file or files. This class also permits you to set various preferences such as destination where the file will be uploaded, restriction on file types, restriction…

Posted in Codeigniter File Upload jQuery PHP

Codeigniter Multiple Files Upload

Introduction This tutorial shows how to bookmark a current URL. We have already built-in functionality in most of the browsers and we can bookmark a URL there but it’s also like you have to go to the menu option. The below code do the same thing just in one click on the web page. User…

Posted in Codeigniter jQuery PHP

Bookmark web page using Codeigniter and jQuery

Introduction This tutorial shows how to check username availability using PHP, AJAX and MySQL. Sometimes you need to check username availability instantly before a user presses the submit button after filling a long-sized signup form. In this case you can use AJAX with any technologies like PHP, CodeIgniter, Servlet, Struts, JSF, Spring, etc. for checking…

Posted in AJAX jQuery PHP

Username Availability Check using PHP, AJAX and MySQL