I've some functions which I'd like to use outside of jQeury in normal
HTML, e.g.

  <script type="text/javascript">
    $(document).ready(function() {

      function collapse (i) {
        $('#expanded_'+i).hide();
      }
    });
  </script>

...

  <img src="images/plus01.png onclick="javascript: collapse (17)">
  <div id="#expanded_17">...</div>

What do I have to write at the onclick?

Reply via email to