![]() |
|
|
+ Search |
![]()
|
Apr 12th, 2005 04:55
Martin Honnen,
The method valueOf takes no argument and simply returns the XML object it is called on. Here are some examples: var god = <god>Kibo</god>; alert(typeof god.valueOf()); // shows 'xml' alert(typeof god.*[0].valueOf()); // shows 'xml'