jQuery UI Datepicker Add Days (check-in,check-out,no. of nights)

<div class=”cus-select” style=”width:90px;”> <input type=”text” name=”check_in[<?=$_GET[‘i’]?>]” class=”custom-sel-box check_in checkin_out” style=”width:90px;” onchange=”getDetail(‘<?=$_GET[‘i’]?>’)” > </div> <div class=”cus-select” style=”width:90px; margin-left: 14px;”> <input type=”text” name=”check_out[<?=$_GET[‘i’]?>]” class=”custom-sel-box check_out checkin_out” style=”width:90px;” onchange=”getDetail(‘<?=$_GET[‘i’]?>’)” > </div> <div class=”cus-select” style=”width:90px; margin-left: 14px;”> <select name=”nights[<?=$_GET[‘i’]?>]” class=”custom-sel-box nights” style=”width:90px;” onchange=”getDetail(‘<?=$_GET[‘i’]?>’)” >…

jquery using confirm box

$(‘.drop-cross-img’).live(“click”, function(){ var cross_img = $(this); var item_id = cross_img.attr(‘alt’); var item_tbl = cross_img.attr(‘rel’); //alert(item_tbl); var confirmation = confirm(‘Are you sure, you want to delete it?’); if(confirmation){ jQuery.ajax({ type:’POST’, url: “common/function_outfits.php”, data: “ajax=true&activity=delete_item&itemID=”+item_id+”&action=”+item_tbl, success: function(data){ if(data==’Item Deleted.’){ cross_img.parent().remove(); } }…