Search
 
SCRIPT & CODE EXAMPLE
 

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
}
?>
Comment

PREVIOUS NEXT
Code Example
Php :: get current user email wordpress 
Php :: ci count 
Php :: exclude methods in resource route laravel 
Php :: php sessions 
Php :: php str_pad not working 
Php :: php date month italian 
Php :: confirm password validation laravel 
Php :: image exists in laravel 
Php :: php get all values from associative array 
Php :: php add to array if not exists 
Php :: delete file laravel 8 
Php :: php translate url wpml 
Php :: Use debug bar - Laravel 
Php :: woocommerce action order complete 
Php :: laravel 8 $request-intersect not working 
Php :: make model -mcr laravel 
Php :: how to add woocommerce cart counter 
Php :: change php version using htaccess 
Php :: how to declar a variable in php 
Php :: get only date in laravel 
Php :: wordpress get user id by email 
Php :: set image asset path in laravel 
Php :: Pacific Daylight Time Zone php 
Php :: php mkdir recursive 
Php :: laravel nginx permissions 
Php :: php serverpath 
Php :: laravel eloquent get last 
Php :: laravel storage save file folder on disk 
Php :: global laravel request() 
Php :: pdo last id 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =