Thursday, August 25, 2011

Get Values from Checkbox in Jquery

$('#checkBox').attr('checked');

$('#edit-checkbox-id').is(':checked');

var checked = $('input[type=checkbox]').is(':checked');

var checkbox_value = $('#check_box_id:checked').val();

$("input[@type=checkbox][@checked]").each(

function() {
   // Insert code here
   }

);

//
$("input[type=checkbox][checked]").each(

function() {
   // Insert code here
   }
);
$('input[name=foo]').is(':checked')
$('input[name=foo]').attr('checked')
$('input[name=foo]').attr('checked', true);
$('input[name=foo]').attr('checked', false);


$(document).ready(function(){

$('#submit_button').click(function() {

if (!$("input[@name='name']:checked").val()) {
   alert('Nothing is checked!');
   return false;
}

else {
   alert('One of the radio buttons is checked!');
}

});
});

Friday, July 15, 2011

AJAX Loading Icon Generators

AJAX Loading Icon Generators

If you want to inform your website\'s visitor that there are more information to be displayed or still to be loaded on your page, you may need a 'loading' or 'wait' icon. An Ajax loading icon is also most commonly used on AJAX-base sites and applications. Here, we present to you online tools that will generate an AJAX loading icons.

Preloaders.net







Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes Dcreators