I have problem with IE browser when request other link from my site,
From IE8 and above, when request you will be get error "Access is deny or no transport".
To fix this , you must implement for IE specific funtion ( don't use Ajax jquery ).
Detail link read at here http://www.nczonline.net/blog/2010/05/25/cross-domain-ajax-with-cross-origin-resource-sharing/
Showing posts with label ajax. Show all posts
Showing posts with label ajax. Show all posts
Tuesday, November 27, 2012
Saturday, October 29, 2011
Detect ajax request php
Posted by
Unknown
at
12:41 PM
I have one script use for both ajax and normal request.
This code can help you detect ajax request to coding.
This code can help you detect ajax request to coding.
if(!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') {
/* special ajax here */
}
Subscribe to:
Posts (Atom)