, , , "" . , ( - ) ( - ). , , . , , . , .
When the page receives a response, you can simply look at the first part of the response text and determine if it had a server-specified keyword, which means that it is a new page. Remove the keyword from the text and execute document.write (ajax.responseText); as described earlier. Otherwise, paste the response text into your divboxBoxBox and ask the user to resubmit.
source
share