Javascript

From KeegansWiki
Jump to navigation Jump to search

onClick

<script type="text/javascript">
   function showContent(id)
   {
      alert(id);
   }
</script>
<input type=submit value=Next onClick="showContent(1)">