Excuse me, just ask a simple question // varis_fans = & lt ;? Phpecho $ guanzhu ;? & Gt; this is a sentence written in JS. The PHP variable already exists. if I assign a value like this, the JS variable is_fans cannot be used in some browsers .. have you ever encountered such a situation ?, Check the error message on the console and ask a simple question.
// Var is_fans = ;
This is a sentence written in JS. PHP variables already exist. if I assign a value like this, the JS variable is_fans cannot be used in some browsers ..
Have you ever encountered such a situation?
------ Solution --------------------
Check the error message in the console.
------ Solution --------------------
Var is_fans =' ';
Try it with single quotes
------ Solution --------------------
This should not happen. the output from the server is irrelevant to the browser. Check other code.
------ Solution --------------------
It depends on what is in $ guanzhu.
I cannot guess it.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.