Using javascript with DITA

Posted by team-ferrari22 on Stack Overflow See other posts from Stack Overflow or by team-ferrari22
Published on 2010-03-05T14:28:10Z Indexed on 2010/03/09 7:36 UTC
Read the original article Hit count: 218

Filed under:

Hi All,

How to use javascript with DITA ?

•We can give 'javascript:URL' to the 'href' attribute of , and elements and it will execute it properly. ?
¦ e.g.Click here to get alert box •We tried to execute javascript user defined functions from href attribute but build fails. •We added .js files to .dita file resources and tried to refer a function from that file by href attribute.It is also not working.

Before converting the DITA files into html using DITA toolkit,if we want to add JAVASCRIPT functionality which can be later used in html files, how it can be done? Please guide us.

Regards.

© Stack Overflow or respective owner

Related posts about JavaScript