hello again)

1) i just wanted to know is it possible to get element's attributes in
hash or array?
for example something like this:
<span style="color:red;" id="myEl" onclick="alert(1)">
..
$('myEl').attibutes().length // == 3

2) is there any analogues of php functions var_dump() and print_r()
for Objects/Hashes and Arrays?


thank you and sorry for bad english)

Alx.


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