$A(navigator.plugins).each(function(item, index){
if (item.name.indexOf("QuickTime") >= 0){
return true;
}
});
On Mon, Jul 27, 2009 at 11:10 AM, 4fingers <[email protected]> wrote:
>
> Hi,
> I was just wondering why I am getting an error when I try and use every
> () on the navigator.plugins array.
> At the moment this code returns "navigator.plugins.each is not a
> function":
>
> navigator.plugins.each(function(item, index){
> if (item.name.indexOf("QuickTime") >= 0){
> return true;
> }
> });
>
> I thought navigator.plugins was an array, in which case why doesn't it
> like me using each() ?
>
> Thanks
--
fax : (+33) 08 26 51 94 51