From: Raj R. <raj...@gm...> - 2014-05-21 17:15:53
|
Hi ... I am trying to figure out a way to get the definition of a class. Example <div class="*headerActionBar*"> <div id="header_logoutContainer" class="item"> <span class="left"> </span> <input type="submit" name="header:separatorBarLogOut" value="" id="header_separatorBarLogOut" class="separatorBar"/> <a id="header_cmdLogout" class="item-label text-button" href="javascript:__doPostBack('header$cmdLogout','')"> Log Out </a> </div> </div> I want get all the rules defined by *headerActionBar*. How can i do that? Do i need to get the cached stylesheets from webclient and parse it myself? Is there an easier way to get it from HtmlElement? Thanks Raj |