Apex item value to Javascript var
723627Dec 1 2009 — edited Dec 2 2009I´m trying to put the value of a apex Item into a javascript var. Coz i need to make a IF to do certain function, according to what the iten value.
Like: <script>
var a = :P2094_SUCESS;
</script>
but its not working,. there´s a way to pass values os apex itens to javascript variables???