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?
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....
I.E. has always supported those methods. The error is elsewhere.
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.
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();"/>
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.
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?
This topic is now closed. New replies are no longer allowed.