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?