on 05-23-2006 6:12 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Xibi and Arun,
Thanks for the hints. Points awarded. I have Web Api 30B. But the 'attributes' mentioned seems to be for <param ...> . The Classname I was looking for is that for javascript setAttribute() command. Not sure if my understanding is correct.
my email is shankellpong@hotmail.com
Regards,
Shankell
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.