isurge wrote:

> then the user clicks
> an item in the dumped json packet and an alert jumps up saying the
> contents of the div tag that was clicked - instead it says 'object
> htmldivelement' ...

$() returns an element, which is why JS stringifies that element to
'htmldivelement'. If you want the contents of an element try
$('some-element').innerHTML.

-- 
Michael Peters
Developer
Plus Three, LP


--~--~---------~--~----~------------~-------~--~----~
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