dimanche 6 octobre 2019

Send value of checkbox to control.php file via href method

I have a control.php file for my webcam and I'm able to send commands to it by the use of an image map's href link like this: href="command.php?cmd=1". In the control.php is a sleep timer which stops the move of the camera after 1 second. All works well. Now I'd like to add a checkbox to the webcams streaming page and would like to send the value of the checkbox also to command.php in addition to the comnand. It would either stop the move of the cam after one second or not, dependent on the checkbox value. I tried all in php and even JS but I'm too stupid to get it done. Any help is highly appreciated! Cheers, Falk




Aucun commentaire:

Enregistrer un commentaire