javascript - moment.js error "indexOf not supported" -
i have downloaded latest version of moment.js
, tried example website in code:
alert(moment().subtract(10, 'days').calendar());
i message property or method indexof not supported object.
i'm using internet explorer 11.
how can solve this?
thanks responses. helpfull. turned out line in way:
meta http-equiv="x-ua-compatible" content="ie=8"
i deleted line , worked.
Comments
Post a Comment