IE cannot recognize the solution to JS function. When we use JS to calculate the interval between two times, we will use this JS function.
like:
var begintime = "2012-12-22"; //Start timevar endtime = "2012-12-25"; //End timevar begindate=new Date(begintime); var enddate=new Date(endtime ); var days = (enddate) - (begindate); //Calculate two time differencesalert(days);
When we alert in IE is not a number, but alert NAV, but alert 3 in Firefox
function delimiterConvert(val){ //Format data return ('-','/').replace('-','/') }
The above is all the contents of the perfect solution to the problem that IE does not support () brought to you. I hope everyone supports me~