Skip to Content

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

setAttribute & class name

Hi Experts,

I need help badly. I can't find help doc on setAttribute and class name to use.

I could not find clear documentation on setAttribute.

I just need to hide a dropdown box by javascript. Could anyone help?

Code I am using:

if (hidden) {

document.getElementById("TAB"+i).setAttribute('style', 'display:none;visibility:false;',false);

}

else {

document.getElementById("head_TAB"+i).setAttribute('className', 'SAPBEXTbsTABsel',false);

Where is the documentation for document. getElementById and setAttribute?

what className to use if its dropdown box?

Please help me!!!!!

Thanks!!!!

Shankell

replied

Pong,

JavaScript and Classes ? you will find the function that you want in the MIME repository and you can find how the function behaves so that you can either change it or use your own.

Arun

0 View this answer in context

Helpful Answer

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