Skip to content

Tag: javascript

Set PHP varibles on button press without using POST or GET

I need to set 3 PHP variables on a button press, but the problem is I can’t use POST or GET to do it due to it refreshing the page which breaks my JavaScript code as it includes an onClick event listener. What I want my code to do exactly is, on a button press set 3 variables, $title, $description

Validate kendo upload control

I have a user form with a kendo upload control. I need to make sure the upload control has been completed before the user is aloud to submit the form. Uploading a file is just an optional. I will like to have a message to the user if they hit the submit button that lets them know the upload control