Skip to main content

Bug Tracker

Side navigation

#6965 closed bug (worksforme)

Opened August 28, 2010 04:43PM UTC

Closed August 29, 2010 01:08AM UTC

ajax loading content that contains document.write blanks the page

Reported by: fizyk Owned by:
Priority: Milestone: 1.4.3
Component: ajax Version: 1.4.2
Keywords: ajax, document.write Cc:
Blocked by: Blocking:

recently I tried to create form, that get's send through ajax and validates on server side, then ajax prints the result. after adding reCaptcha and sending form, page gets blanked after printing response (e.g form with reCaptcha and validation messages). After a little research I discovered that whenever content that's loaded with ajax, contains java script code with document.write('') it get's printed after blanking the page.

Attachments (0)
Change History (1)

Changed August 29, 2010 01:08AM UTC by dmethvin comment:1

resolution: → worksforme
status: newclosed

What would you expect it to do? Once the body is closed after page load, any document.write will do the same thing. So jQuery hasn't changed the browser's handling of the situation at all.