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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -