如何获取不在标签内的<form>
变量
var vvv = document.getElementById('vvv');
进入php
$variable=vvv.value;
如何获取不在标签内的<form>
变量
var vvv = document.getElementById('vvv');
进入php
$variable=vvv.value;
I suspect you talk about javascript to php variable. To understand how this works you will probably need to use AJAX. This is a good start: JQuery AJAX
Once you get a hold of that you can send your javascript-variable to a PHP-webservice and have fun with it.