Created
September 19, 2015 05:53
-
-
Save sinamiandashti/680926ea78c4394f4a3a to your computer and use it in GitHub Desktop.
sanarate.ir driver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var count =0; | |
var unameArr = ['usdirr','eurirr','uaeirr']; | |
$('#MainContent_ViewSanaRates_tblSale').find('.trAgg').each(function(index){ | |
if (count ==0) { | |
count++; | |
return true; | |
} | |
var price = u.getPrice($(index).text()); | |
var uname = unameArr[count]; | |
list[uname] = {}; | |
list[uname]['price'] = price'; | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment