HTML Text retrieval

  • Thread starter Thread starter Atishoo
  • Start date Start date
A

Atishoo

Am using Joels dump sub to retrieve location of text (a persons date of
birth) within a web page, all I get from the dump is:

HTML
HEAD
TITLE
FRAMESET
FRAME
FRAME
FRAME
I have tried returning Frame.item(0).innertext item1 item 2 etc but get no
innertext.
any ideas?
 
not much in the way of source code:
<frameset rows="175,30,*" frameborder="NO" border="0" framespacing="0"
cols="*">

<frame name="fraSUTop" scrolling="NO"
src="SU_top.asp?patient=890634&iSpell=&uStatus=active&mode=active&Timeline="
<frame name="fraSUMiddle" scrolling="NO"
src="SU_middle.asp?patient=890634&iSpell=&uStatus=active&mode=active&form=&letter=" >
<frame name="fraSUBottom"
src="SU_bottom.asp?mds=&np=&patient=890634&iSpell=&uStatus=active&mode=active&form=&formid=&id=&letter=" >
</frameset>
<noframes>


</noframes>
</html>
any ideas?

joel said:
Not all object have innertext. I suspect the FRAME is really another
webpage that the Java code is download and displaying. I would loolk at
the source code and see if there is a href property associate with the
object. You can add the href into the dump and put the data in a
different column. Without seeing the webpage I can't tell what is
happening. If you are using IEversion 7 or 8 you can look at the
developers tool (F12) or look at the source code to get a clue (menu
view - source).

I have had to open a second IE explorer and go tthe webpage that was
referenced by the href to get the data in a 2nd frame.


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/showthread.php?t=161953

Microsoft Office Help

.
 
To reach an element in a frame:

document.frames("fraSUMiddle").document.getelementbyid("blah")

Tim


Atishoo said:
not much in the way of source code:
<frameset rows="175,30,*" frameborder="NO" border="0" framespacing="0"
cols="*">

<frame name="fraSUTop" scrolling="NO"
src="SU_top.asp?patient=890634&iSpell=&uStatus=active&mode=active&Timeline="
<frame name="fraSUMiddle" scrolling="NO"
src="SU_middle.asp?patient=890634&iSpell=&uStatus=active&mode=active&form=&letter="<frame name="fraSUBottom"
src="SU_bottom.asp?mds=&np=&patient=890634&iSpell=&uStatus=active&mode=active&form=&formid=&id=&letter="</frameset>
<noframes>


</noframes>
</html>
any ideas?

joel said:
Not all object have innertext. I suspect the FRAME is really another
webpage that the Java code is download and displaying. I would loolk at
the source code and see if there is a href property associate with the
object. You can add the href into the dump and put the data in a
different column. Without seeing the webpage I can't tell what is
happening. If you are using IEversion 7 or 8 you can look at the
developers tool (F12) or look at the source code to get a clue (menu
view - source).

I have had to open a second IE explorer and go tthe webpage that was
referenced by the href to get the data in a 2nd frame.


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread:
http://www.thecodecage.com/forumz/showthread.php?t=161953

Microsoft Office Help

.
 
Back
Top