Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

ipad1 Jquery Javascript



12:01 pm on Dec 12, 2011 (gmt 0)

Hi all

I ve the following code in page1.php


function showSelected(val)

var show

var url = "page2.php?id="+show;

//var response=new Array();

type: "POST",
url: url,
data: "",
success: function(response){




<script type="text/javascript">

// var unavailableDates = ["9-9-2011","14-9-2011","15-9-2011"];
var unavailableDates1= ["<?php echo join("\", \"", $getstartdates); ?>"];
var unavailableDates2= ["<?php echo join("\", \"", $getenddates); ?>"];
function unavailable1(date) {
var today = new Date();

var dmy = date.getDate() + "-" + (date.getMonth()+1) + "-" + date.getFullYear();
if ($.inArray(dmy,unavailableDates1) == -1) {

return [true, "","Available"];
} else {

return [false,"","Booked"];


the alert msg in page2.php.(i.e deepthi )is working fine in all browsers ie 6,7,8 ,firefox etc and in ipad2.but it is not working in pad1.

will ipad1 supports ajax,jquery functions

to make work with ipad1 wat modification i need to do?
can anybody guide me


Featured Threads

Hot Threads This Week

Hot Threads This Month