I tested it on this:
onclick - run javascript, form not submitted(it is running javascript), but i want to access to variables of this form in body of javascript in PHP. If this is real, then form will make more and more faster
<script language="JavaScript">
<!--
function dojs()
{
<?
// can I gain access to form variables without submitting???
?>
}
//-->
<form>
<input type="text" name="name">
<input type="button" onclick=dojs()">
</form>