lse123 — 2013-06-27T09:59:24-04:00 — #1
daysInPeriodvar = Math.max(Math.min(endPeriod, dateOut) - Math.max(startPeriod, dateIn), 0);
IE8 SUPPORTS THIS,,,...???
If not what is the cross browser method? implement manual min max methods?
lse123 — 2013-07-15T16:44:51-04:00 — #2
why not work calc functionality here? i mean no work in some versions of IE only?
relates to Math.max(Math.min(endPeriod, dateOut) - Math.max(startPeriod, dateIn), 0);
used in calc function....
logic_ali — 2013-07-15T20:20:52-04:00 — #3
I.E. has always supported those methods. The error is elsewhere.
felgall — 2013-07-15T22:19:29-04:00 — #4
Not always - Internet Explorer 2 didn't support scripting languages at all. It has been supported since IE3 though - which is still an earlier version than anyone is likely to be running any more.
lse123 — 2013-08-12T13:00:30-04:00 — #5
I am still no make it why not work in ie7, ie8... all is on js can you help? startup with
<input type="button" id="calcButton" value="Calculate Amounts" onClick="calcGeneral();"/>
felgall — 2013-08-12T15:53:04-04:00 — #6
lse123 — 2013-08-12T16:53:24-04:00 — #7
I was not meaning that. i give this function (button input) as a start point, for you, for debug. the problem is:
at georgiosrafaelavilla.com/book.php after press id="calcButton" having selected dates prior, no work in ie7, ie8.
felgall — 2013-08-12T17:41:29-04:00 — #8
lse123 — 2013-08-23T16:15:19-04:00 — #9
d = (new Date("00:00:00 January 1, 2013")).getTime();
d = (new Date("00:00:00 April 1, 2013")).getTime();
THIS SUPPORTED BY IE8, IE7 OR IPAD 1?