Thanks for your use full reply...

On Wednesday, January 30, 2013 6:15:48 PM UTC-5, asgallant wrote:
>
> Either write code that doesn't use the indexOf method, or extend the Array 
> prototype to add in the capability (solution borrowed from this thread at 
> StackOverflow<http://stackoverflow.com/questions/1744310/how-to-fix-array-indexof-in-javascript-for-ie-browsers>
> ):
>
> if (!Array.prototype.indexOf) { 
>     Array.prototype.indexOf = function(obj, start) {
>          for (var i = (start || 0), j = this.length; i < j; i++) {
>              if (this[i] === obj) { return i; }
>          }
>          return -1;
>     }
> }
>
> Best coding practice frowns upon modifying the prototypes of base 
> javascript objects, though.
>
> On Wednesday, January 30, 2013 4:56:56 PM UTC-5, Gobi N wrote:
>>
>> Hi , I'm using IE 8.... but still facing the issue...
>>
>> Thanks 
>>
>> On Wednesday, January 30, 2013 4:30:26 PM UTC-5, asgallant wrote:
>>>
>>> Older versions of IE don't have an Array.indexOf method, which is why 
>>> you are seeing an error there.
>>>
>>> On Wednesday, January 30, 2013 3:19:31 PM UTC-5, Gobi N wrote:
>>>>
>>>> Hi 
>>>>
>>>>    First of all I would like to say thanks to Google Visualization API 
>>>> team .
>>>>
>>>>   I'm facing some issues with google.visualization when Double Click to 
>>>> Expand / Collapse on the node / image only with IE, but the same thing are 
>>>> working very nicely in Crome / Firefox
>>>>
>>>>   Please let me know if there is any workaround for IE browser.
>>>>
>>>>   The following line of code is giving problem in IE
>>>>
>>>>                     var collapsed = chart.getCollapsedNodes();
>>>> *                    var collapse = (collapsed.indexOf(row) == -1);   
>>>> // Problem Line in IE*
>>>> *
>>>> *
>>>> *Thanks in Advance *
>>>> *
>>>> *
>>>> * *
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to