Ajax requests A page, back page B, through id. The innerHTML=message , will B page data into A page & lt; Span id=id "& gt; ,
Page contains B & lt; Script language="JavaScript" DEFER> Js method & lt;/script & gt; , B page called js method error in the page Uncaught ReferenceError: XXX not defined
The at HTMLAnchorElement. Onclick , what's the problem?