[Zope] How to get the type of an object by dtml
    Christian Steinhauer 
    steinhauer at know-it.net
       
    Fri Dec  1 08:50:59 EST 2006
    
    
  
>> Could anyone help me.. how do I use DTML to return the type of the
object I'm currently working with?
If you want to get the html elements like <b> <p> <input> you should
have a look at javascript -     document.getElementsByTagName("p")
you can cominate it with for or while loops or go directly to the objecs
document.getElementsByTagName("p")[0].firstChild.data = "new";
- cs 
	
    
    
More information about the Zope
mailing list