Click here to Skip to main content
       

C#

 
GeneralRe: C# and BitBLT PinmemberC-P-User-320-Nov-12 8:06 
GeneralRe: C# and BitBLT PinprotectorPete O'Hanlon20-Nov-12 8:35 
GeneralRe: C# and BitBLT PinmemberGerry Schmitz20-Nov-12 11:50 
QuestionHow can i get the innertext from div which hasnt id PinmemberGokce Sezgin19-Nov-12 9:17 
I wanna get the innertext from the html but some divs has not an id. And i cant reach then.. for example in this code how can i get 'İnşaat Mühendisliği' etc.
 
<div class="liste">
                        <div style="width:90px;">&nbsp;</div>
                        <div style="width:160px;"><a id="ctl00_cphAlt_rpKisiListesi_ctl00_lbAdGuid" href="javascript:__doPostBack('ctl00$cphAlt$rpKisiListesi$ctl00$lbAdGuid','')">Abdulkerim Gökbulut</a>&nbsp;</div>
                        <div style="width:250px;">İnşaat Fakültesi&nbsp;</div>
                        <div style="width:250px;">İnşaat Mühendisliği&nbsp;</div>
                    </div>
 
                    <div class="liste">
                        <div style="width:90px;">&nbsp;</div>
                        <div style="width:160px;"><a id="ctl00_cphAlt_rpKisiListesi_ctl01_lbAdGuid" href="javascript:__doPostBack('ctl00$cphAlt$rpKisiListesi$ctl01$lbAdGuid','')">A.  Buğrahan Gökso...</a>&nbsp;</div>
                        <div style="width:250px;">İnşaat Fakültesi&nbsp;</div>
                        <div style="width:250px;">İnşaat Mühendisliği&nbsp;</div>
                    </div>
 
                    <div class="liste">
                        <div style="width:90px;">&nbsp;</div>
                        <div style="width:160px;"><a id="ctl00_cphAlt_rpKisiListesi_ctl02_lbAdGuid" href="javascript:__doPostBack('ctl00$cphAlt$rpKisiListesi$ctl02$lbAdGuid','')">Abdulmecit Gökçe</a>&nbsp;</div>
                        <div style="width:250px;">Fen Bilimleri Enstitüsü&nbsp;</div>
                        <div style="width:250px;">Moleküler Biyoloji ve Genetik&nbsp;</div>
                    </div>

AnswerRe: How can i get the innertext from div which hasnt id PinprotectorPete O'Hanlon19-Nov-12 9:18 
JokeRe: How can i get the innertext from div which hasnt id PinmemberPeter_in_278019-Nov-12 11:18 
AnswerRe: How can i get the innertext from div which hasnt id Pinmemberaskwjun19-Nov-12 20:42 
AnswerRe: How can i get the innertext from div which hasnt id PinmemberBernhard Hiller19-Nov-12 21:55 
QuestionWhat is the best tool to create UML diagrams? PinmemberVijay Kanda19-Nov-12 8:29 
AnswerRe: What is the best tool to create UML diagrams? PinprotectorPete O'Hanlon19-Nov-12 8:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 10 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid