Pregunta

My code is this

<?xml version="1.0" encoding="UTF-8" ?>
<Module>
  <ModulePrefs title="Zombies!" height="350" />
  <Content type="html">
  <![CDATA[

  <script type="text/javascript">

  function load() {
   alert("test");
  }

  </script>
  <br />
  <div style="text-align: center;">
    <input type=submit value="Next ->" onClick="load()">
  </div>
  ]]>
  </Content>
</Module>
​

I am testing this code on

http://www.google.com/ig/modules/gadgetads.html

but when i add javascript code html is not showing . Please some one help me

¿Fue útil?

Solución

I see nothing wrong with your code. The button with text "Next ->" is properly displayed. There is no more HTML in your code snippet.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top