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!

JavaScript to check for a Null value

ProhanMay 5 2010 — edited May 11 2010
I want to write a simple javascript function that checks if a text item is Not Null and, if so, submits the page. Can someone help me with this? I don't know how to structure the code, but here's the basic idea:

function isPermitNull()
{
if NotNull(document.getElementById('P1_PERMIT_NUMBER').value)
doSubmit();
}


Please correct me and post the complete version of the code. Thank You much.
This post has been answered by jariola on May 5 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 8 2010
Added on May 5 2010
11 comments
4,697 views