So how do i get variable value from php file with jquery...? the jquery code is in other file (tpl)
for example i have register.php and register.tpl (template file f
Either you make a Jquery Ajax Request that will request a php page which will return whatever you want or you echo a javascript variable with php
var javascript_variable = "whatever"; '; ?>