Hello Community,
I need help with getting javascript function arguments in php eg.
function jsFunction(arg) {
<?php phpFunction(arg); ?>
}
<button onclick="jsFunction(this.id);" id="XXXX"/>
But when i press the button it doesn't send "XXXX" to the php function (<?php phpFunction(args); ?>) it sends "args" (as plain text).
Please Help...