Home >Backend Development >PHP Tutorial >如何将js变量赋值给php

如何将js变量赋值给php

WBOY
WBOYOriginal
2016-06-13 10:21:431900browse

怎么将js变量赋值给php?
怎么将js变量赋值给php?


------解决方案--------------------
那么ajax喽
------解决方案--------------------
#pp=10
是给浏览器用的,用于页面定位的指定的锚点
他不属于 url 参数,所以 php 获取不到

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn