Hello,
can anyone please help me out with this issue with javascript.
I have items P0_DEPT and P0_EMP both of them are select list with submit items.
Now I want get the values of these items in javscript global varibales. For this I have the following code which is not working returns nothing. The reason why I have defined global is I want to use these values in other functions also.
<script type="text/javascript">
<!--
var dept = $v('P0_DEPT');
var emp = $v('P0_EMP');
function globalTest()
{
alert(dept);
alert(emp);
}
thanks,
Orton