Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Value Show NAN After Java Script How Remove That

Manoj KaushikMar 25 2010 — edited Mar 26 2010
hi,

i have created a form with report Page .When i click on Edit ICON And Go to Edit Page ,On that page i am using an Java Script

<script>
function servicetaxItems(){
function getVal(item){
if($x(item).value != "")
return parseFloat($x(item).value);
else
return 0;
}
$x('P37_SERVICE_TAX_AMT').value =
(getVal('P37_SERVICE_TAX') * getVal('P37_LAB_AMT')/100);

}
</script>


I have put This on HTML Form Element Attributes onBlur="javascript:servicetaxItems()"

Now Problem is When I changes in P37_LAB_AMT and my Cursor Come in P37_SERVICE_TAX_AMT Item Then It's Shows NAN .
i don't know why it is show NAN ..
I want Calculated Value In P37_SERVICE_TAX_AMT


How Can i Remove This Error ..

Thanks
This post has been answered by jariola on Mar 25 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2010
Added on Mar 25 2010
7 comments
1,177 views