renuka
unread,Nov 6, 2012, 3:34:33 AM11/6/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prototype & script.aculo.us, r...@its.jnj.com, renuka...@gmail.com
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