Home > front end >  A page Ajax requests, return to the page is loaded into A, B B js method calls an error page
A page Ajax requests, return to the page is loaded into A, B B js method calls an error page

Time:11-28

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?