HOW do I load a Javascript call in a Joomla module BACKEND? -



HOW do I load a Javascript call in a Joomla module BACKEND? -

i'm developing simple module fo joomla 2.5. done, have series of form fields in module params backend, hide when specific checkbox clicked on... have function made, it's loop document.getelementblablablabla.style.display = 'none', how can load js , attach function checkbox?

a quick solution!

you can include script within module xml files normal script. method can utilize description tag of xml file this

<description> <![cdata[ <script type="text/javascript"> //your javascript code(s) </script> ]]> </description>

this method work fine joomla version not professional method. if prefer more standard way have utilize param php file or here

hope helps..

javascript joomla backend params

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -