Dear Team,

When I run my application on Google chrome – ripple emulator ,
getting  Prototype JavaScript issue with just blank screen.
Hence I have commented the prototype.js script file , then I was able
to view screens , but not the pop-up windows.

Error message :-
uncaught typererror : Object [object object] has no method
'getElementsByTagName'


issue at line 931

code block

document.getElementsByClassName = function(className, parentElement) {
  var children = ($(parentElement) ||
document.body).getElementsByTagName('*');
  return $A(children).inject([], function(elements, child) {
    if (child.className.match(new RegExp("(^|\\s)" + className + "(\\s|
$)")))
      elements.push(Element.extend(child));
    return elements;
  });
}

Kindly provide the solution.



Regards,
Renuka

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to