ajax - Get Server Date/Time from header.response using jQuery GET -
i'd server date , time using jquery method (from same domain). i'd without using server-side scripting. how go doing this?
check how read headers ajax request jquery , ajax response header
you can read date header, without using server-side page (aspx, php) web server cache files .txt, .js or .css, , overwrite can pass 'cache' false jquery ajax append random query parameter force web server refresh it.
note: need empty file(.js, .txt, ..) target of ajax call
Comments
Post a Comment