homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

ipad1 Jquery Javascript

Msg#: 4397024 posted 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



Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved