how to use js codes in joomla articles?
I followed the steps you described in order to let iframe be shown and it worked and then applied the same steps on the script tag but still i cannot see the js code result on my page. can you plz tell what else i should do?
thank you.
regards,
thank you.
regards,
<script type="text/javascript"> alert("Hello world!"); </script>
It looks like Joomla automatically updates it to this after being saved:<script type="text/javascript">// <![CDATA alert("Hello world!"); // ]]></script>
However when viewing the page, the JavaScript code is run right away and I get the pop-up message in my browser. If it's still not working for you please let us know. - Jacob