The Yahoo! Mail team found that when using XMLHttpRequest, POST is implemented in the browsers as a two-step process: sending the headers first, then sending data. So it’s best to use GET, which only takes one TCP packet to send (unless you have a lot of cookies). The maximum URL length in IE is 2K, [...]
In the example below element “adListContainer” is an div, on onscroll event of which an ajax function
is called to load the next set of records.
It is required that the function be [...]
function validDate(sDatePassed) {
//if the date is in dd/mm/yyyy format then valid date returns 1else 0
if (sDatePassed.length > 0) {
aDate = sDatePassed.split("/");
if (aDate.length != 3) return(0); if (aDate[1].length == 1) aDate[1]= "0"+aDate[1];
var iLeapyear = 0;
// check whether the year is leap year – aleap year is div by 4 ,100, 400
if ((aDate[2] % 4) == [...]