Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    May 23, 2006 at 06:48 AM

    Shankell,

    Did you look into the Web API 3.5 document?

    If not, please let me know your mail id, and i will send you the document for reference.

    Regards,

    Xibi

    Add comment
    10|10000 characters needed characters exceeded

  • May 23, 2006 at 08:56 AM

    Pong,

    You will need to look for the same in the Mime repository...

    SAP/Public/Mime/BeX/JavaScript

    and another way to do the same is to execute the template ad view the source , you can find the source javascript file in the HTML.

    Arun

    Assigning points is a way of saying thank you on SDN

    Message was edited by: Arun Varadarajan

    Add comment
    10|10000 characters needed characters exceeded