This discussion is archived
2 Replies Latest reply: Feb 8, 2013 5:04 PM by 957200 RSS

Css style

978329 Newbie
Currently Being Moderated
How to get color or any property or css style of any element.
Pls help
Thanks
  • 1. Re: Css style
    978329 Newbie
    Currently Being Moderated
    Hey Pls reply..

    Thanks
  • 2. Re: Css style
    957200 Newbie
    Currently Being Moderated
    1. adf.table("<attributes>").getHTMLAttribute("<exact html attribute name"); //to get html attribute of at table level eg; innerText
    2. if you need at child level, get access to child object using funcs like getCell (in case of table) and use getHTMLAttribute to get the required html details.
    3. you can also get the exact html details like css name by getHTMLAttribute("innerHTML");

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points