Displaying 1 result from an estimated 1 matches for "myel".
Did you mean:
mel
2007 Jul 17
1
Prototype: 2 questions (elements' attributes, dumping methods)
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.
--~--~---------~--~----~------------~-------~--~----~
Y...