AnsweredAssumed Answered

getElementsByName

Question asked by _valerio_ on Mar 5, 2010
Hi everybody
I need to have the possibility to implement the following API in my javascript:
document.content.getElementsByName(element_name) 

I read the wiki http://wiki.alfresco.com/wiki/3.2_JavaScript_API#Adding_Custom_Script_APIs but I didn't understand some things:
-to add the method getElementsByName() Could I add it simply to an existing file (i.e. the file who access the document content, whose name I don't know)?
-if it isn't so, which files should I edit (besides script-services-context.xml)  ?

thanks to all will answer

Outcomes