473,387 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Need element from webpage

I've got a weird problem. I'm trying to pull the phone number off a
webpage (you can see it below if you search for "context"), but
somehow SKYPE has usurped the HTML DOM in a way I don't understand.

Interestingly, none of the below shows up if I simply "view source".
However, when I go into the VBA editor and watch my variables, I'm
able to find it inside one of the elements. I've copied what I found
here. No amount of walking the DOM seems to get me to that phone
number. I'm guessing it has something to do with the fact that it's
an XML statement, but I'm clueless as to what to do from here.

So again, how do I pull the phone number out of the below? I'm doing
this in VBA 6 if it matters, but can probably translate from
javascript if necessary.

Thank you in advance!

<?XML:NAMESPACE PREFIX = SKYPE /><SKYPE:SPAN
onmouseup="javascript:skype_tb_imgOnOff(this,1,'4' ,true,'');return
skype_tb_stopEvents();" class=skype_tb_injection
onmousedown="javascript:skype_tb_imgOnOff(this,2,' 4',true,'');return
skype_tb_stopEvents();" id=softomate_highlight_4
onmouseover="javascript:skype_tb_imgOnOff(this,1,' 4',true,'');"
title="Call this phone number in United States of America with Skype:
+19042922275" onclick="javascript:skype_tb_doRunCMD('call','4',n ull,
0);return skype_tb_stopEvents();"
onmouseout="javascript:skype_tb_imgOnOff(this,0,'4 ',true,'');"
durex="99" context="(904) 292-2275" IamRTL="0"><SKYPE:SPAN
class=skype_tb_nop>&nbsp;</SKYPE:SPAN><SKYPE:SPAN
onmouseup="javascript:doSkypeFlag(this,'4',1,1);re turn
skype_tb_stopEvents();" class=skype_tb_imgA_flex
onmousedown="javascript:doSkypeFlag(this,'4',2,1); return
skype_tb_stopEvents();" id=skype_tb_droppart_4
onmouseover="javascript:doSkypeFlag(this,'4',1,1); " title="Skype
actions"
onclick="javascript:skype_tb_SwitchDrop(this,'4',' sms=0',true);return
skype_tb_stopEvents();" onmouseout="javascript:doSkypeFlag(this,'4',
0,1);">&nbsp;&nbsp;<SKYPE:SPAN class=skype_tb_nop>&nbsp;</
SKYPE:SPAN><SKYPE:SPAN class=skype_tb_imgFlag id=skype_tb_img_f4
style="BACKGROUND-IMAGE: url(file://D:/DOCUME~1/ANDYBR~1/LOCALS~1/
Temp/
__SkypeIEToolbar_Cache/acff02a98e444a2cfc8e6580c12ac345/static/
famfamfam/US.gif)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;</
SKYPE:SPAN>&nbsp;<SKYPE:SPAN class=skype_tb_nop>&nbsp;</SKYPE:SPAN></
SKYPE:SPAN><SKYPE:SPAN class=skype_tb_imgS id=skype_tb_img_s4>&nbsp;</
SKYPE:SPAN><SKYPE:SPAN class=skype_tb_injectionIn
id=skype_tb_text4><SKYPE:SPAN class=skype_tb_innerText
id=skype_tb_innerText4(904...</SKYPE:SPAN></SKYPE:SPAN><SKYPE:SPAN
class=skype_tb_imgR
id=skype_tb_img_r4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;<SKYPE:SPAN
class=skype_tb_nop>&nbsp;</SKYPE:SPAN></SKYPE:SPAN></SKYPE:SPAN>
Sep 13 '08 #1
0 1574

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: dcruz | last post by:
For my amusement and at the same time attempting to learn XML, I have a written a simple dictionary webpage. The user enters a word and and clicks on the find button. The webpage should search...
11
by: charlie_M | last post by:
I have a number of applications where I want to have many onclick='submit()' attached to different 'elements' on a single form ..... which sends the form to a CGI "script" which does all the...
0
by: martin | last post by:
Hi, I am having trouble using impersonation -- with integrated security - on a domain controller. The authentication on IIS is set to integrated security only --- (NO annoymosy access allowed)...
3
by: lezzo | last post by:
Hi Guys, I am new to this forum and find very interesting. I need your help in one of the script. I got a MySQL table bid_amount, and i want that if some new data comes in this table and...
1
by: sayid | last post by:
Hello, I have a problem when altering a DIV-element from another frame. The frameset looks like this: <frameset rows=0,0,* border=0> <frame name=header src=/header.htm scrolling=no...
15
by: rhino | last post by:
I've put together a prototype of two-tiered CSS tabs that works really well in IE6, IE7, and FF2. It also works very well in Opera 9.27 _except_ that the placement of the lower tier of tabs is...
15
by: Sunny | last post by:
Hi, I can change the lement opacity in IE using. abc.style.filter = 'alpha(opacity=' + 10 + ')'; But this dont work in firefox, In firefox it throws error. How I can change the opacity of an...
8
by: Paulo J. Matos | last post by:
Hi all, I guess this is a recurring issue for someone who doesn't really know the python lib inside out. There must be a simple way to do this. I have a list of objects and I have defined a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.