Created
October 1, 2012 16:58
-
-
Save descovi/3813014 to your computer and use it in GitHub Desktop.
Quanto è bella?
This file contains 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
$.ajax 'http://localhost:3000/risorsa/index', | |
type: 'GET', | |
data: "uniquekey=#{codice_commessa}", | |
dataType: 'json', | |
processData: true, | |
success: (data)-> | |
customer = data.customer | |
for key, value of data.productInstance | |
if value.productName == "SCHEDA_AZIENDA_GIALLO" | |
productReferenceUrl = value.productReference.replace("ITA|","") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment