I'm a newcomer to prototype but every time I try to run the
following...
document.observe('dom:loaded', function() {
$$('.single .addcomment .comment').each(function(element){
element.observe('click', function(event){
$$('.addcomment').each(function(elementz){
On Jan 6, 2012, at 11:45 AM, Matthew Goszcz wrote:
I'm a newcomer to prototype but every time I try to run the
following...
document.observe('dom:loaded', function() {
$$('.single .addcomment .comment').each(function(element){
element.observe('click', function(event){
Ugh, crunchy bug waiting to happen here:
On Jan 6, 2012, at 2:08 PM, Walter Lee Davis wrote:
document.observe('dom:loaded', function(evt){
var list = $$('addcomment');
$('thelist').observe('click', function(evt){
list.invoke('update','TEST2');