1 message in com.googlegroups.google-finance-apis[Google Finance APIs] About enableDom...
FromSent OnAttachments
RJan 11, 2009 10:11 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[Google Finance APIs] About enableDomUpdates(symbolMap)Actions...
From:R (ravi@gmail.com)
Date:Jan 11, 2009 10:11:36 am
List:com.googlegroups.google-finance-apis

Hello All,

I needed more information on the data struct the symbolMap is. I am trying to dynamically build the symbolMap with an array containing the ticker symbol and their associated span id's, say something like this :-

var tickers="AAPL,YHOO"; for(var i=0;i<tickers.split(',').length;i++){ if(i>0) domStr+=','; domStr+='"'+tickers.split(',')[i]+'" : "val_'+i+'"'; } quote.enableDomUpdates(domStr);

i have tested this and it will not work. so i wondering what am i missing, what kind of struct is symbolMap. I have tried using an array as well, but that will not work either.

More information on this will be very helpful and greatly appreciated Thanks