I am new to perl/html. This is from a perl file. This button is in there right now:
<button id = "button1" name = "submitButton" type="submit">
<span class="right">Submit</span>
</button>
I don’t see any piece of code where submitButton or button1 is given any logic so I don’t understand why this jumps to the next page. Can someone explain?
EDIT: This seems to be the only javascript in the whole file…
<script type="text/javascript">
% $m->comp('../js/share.js');
</script>
I looked at the file, and it doesn’t seem to do any redirecting or anything.
Since this is a submit button, it does the logic defined by the Form that surrounds it.