Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

auto submit button php

<?php
    if (isset($_GET['var']))
{?>

<script type="text/javascript">
    document.getElementById('dateForm').submit(); // SUBMIT FORM
</script>

<?php 
}
else
{
  // leave the page alone
}
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #auto #submit #button #php
ADD COMMENT
Topic
Name
5+4 =