I haven't any real javascript experience, but I need to create a function that will disable an element on a screen based on the value of another element on the screen. Here are the specifics:
Screen ID (or Document name) : A%CCD107B2
ID of the widget to be disabled/enabled : OrderEntryUpload1
ID of the element to be checked : D_1_77
Here's what I'd like to accomplish:
if screen is A%CCD107B2
if value of D_1_77 is equal to 'I'
enable OrderEntryUpload1
else
disable OrderEntryUpload1
Can somebody help me out? I'm sure this is javascript 101 but I need this before I can become competent in js. I'll continue to research this on my own, but any assistance wil be appreciated.
Thanx in advance.


Reply With Quote

Bookmarks