Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Disable HTMLB dropdown with JavaScript

Hi All,

I ran into the following issue:

I have a BSP page that used HTMLB dropdowns and some custom javascript that disabled those dropdowns interactively when a user clicked on a checkbox.

Example: tempDropdown.disabled = true;

Unfortunately, as soon as I changed the control rendering attribute to "SAP", the look&feel of dropdowns changed and they no longer appear to be based on "select-one" HTML object. Therefore, my custom JavaScript no longer works.

Do you know how I could visually (interactively) disable the "SAP" rendered HTMLB dropdown with a custom javascript?

Thanks!

Roman

Not what you were looking for? View more on this topic or Ask a question