i'm having problems accessing the variables submitted by a form using javascript...
here's my test code...
<html>
<body>
<?php print_r($_POST); ?>
<form method='POST' action='' name="vform">
<label for='description'>Class Name</label><input type='text' name='description' >
</form>
<a href='' class='text' onclick='document.vform.submit()'>---Post this form---</a>
</body>
</html>
the form will submit when the link is clicked but the $_POST variable always comes back as an empty array...
can anyone shed some light on what's going on?