Hi folks.

I'm getting an error here:

$("imageShow1") has no properties
$('imageShow1').update('Fred');

Not too sure what that means.  I can get an alert to work in its place
just fine, so it's being called properly from my Event.observe.

So the issue comes with the element.update.  The div is there:

<div id="imageShow1"></div>

And it's inside a table cell, but I don't think that means anything.

Event.observe('iframe1', 'load', showPic());

function showPic() {
                alert('imageShow1');
                $('imageShow1').update('Fred');


So the trigger is working, the event.observe is working, and the
function is being called, but the $('imageShow1').update('Fred');
isn't taking.

Any ideas?

Cheers


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to