Having a problem that I could use a creative solution for:
I have a SELECT list with a dozen or so phone numbers, and I need to double click each one of those numbers to get to the info I need...but double click apparently doesn't play nice with iMacros for IE.
So my next thought was to extract the phone number value and put it in to the URL, as that will also get me to the info I need. The phone number text in this list is formatted as: "(555)123-4567", but the URL calls for no formatting, IE: "5551234567", so that doesn't work. However the OPTION VALUE tag in the HTML does have the number listed with no formatting. If I could figure out a way to extract that, then I can place it in the URL, but I'm not sure how to do that.
Here's a chunk of the HTML code I'm working with:
Code: Select all
<form name="ResultsForm" method="post">
<select name="handset_list" size="10" class="selectBoxnew" ondblclick="gotoHandset(this.form.handset_list,'123456789')" frameBorder="no" >
<option value="5551234567">(555)123-4567 </option>
<option value="5559876543">(555)987-6543 </option>
...
<option value="5551234567">(555)123-4567 </option>
I'd like to find a way to extract 5551234567 and only 5551234567
Any help is much appreciated!