xmlhttprequest has stop working
i am loading a page with xmlhttprequest it was working fine but now it is giving me only the number 4 output when i load th开发者_Python百科e page it gives me only [ 4 ] output without[] i.e 4 how can i fix that
Not too sure about that, perhaps it's an error code? Also, check the page that you're loading, does the page have any code that might cause it to return that value?
Also, have you considered using an AJAX library? Might help simplify development. Check out jQuery and Dojo, and see if it might help you out.
"it was working fine but now it is giving me only the number 4"
This is why you need to use a good Version Control system like SVN.
精彩评论