Hi all, I'm trying to create a small form that submits a form and passes a value from a text link.. Here's what I've got so far..
<form id="calendar" name="calendar" action="" method="post">
<a href="<?php echo $next_month; ?>" class="submitCal">»</a>
</form>
<script type="text/javascript">
jQuery.noConflict();
jQuery('.submitCal').click(function () {
jQuery("#calendar").submit();
});
</script>
I'd like the href to become a form variable called "time", I'm just not sure if I'm heading in the right direction or not.. If someone could help, that'd be great :)
Cheers