I’m using an ajax post request to authenticate users, this script replies with a full webpage. Within the response if successful there is a div called #logged.
What I would like to do, is check if the requested result contains logged and then replace content within the corresponding #primary-content div. How can I do it?
Pretty simple really… Once your
ajaxobjectreadyStatehas reached4.Just do this… presuming your ajax or data object is called
ajax.Sources