Sean O wrote:
> 
> How about:
> var layer = '<?= $layer ?>';
> 
Oh, i stupid
This works great :)

<script type="text/javascript">
$(document).ready(function(){
$('#menu-layer0').tabs({on: $layer});
});
</script> 

Thank you
-- 
View this message in context: 
http://www.nabble.com/Variable-from-PHP-to-Jquery-tf2448700.html#a6829282
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to