Skip to content Skip to sidebar Skip to footer

Send Data To Parse Once The "submit" Button Has Been Clicked

I'd like to use JavaScript/jQuery Mobile to capture a date inputted by the user, and then once the submit button is pressed send it to the parse.com data cloud. Using the below cod

Solution 1:

The solution is the onsubmit event.

   <form onsubmit="dosomthing(); return false;" id="dansform" action="dansform" method="POST" class="dansform">
        <div data-role="fieldcontain" class="date">
            <label for="date">
                Date
            </label>
            <input name="date" id="date" placeholder="date" value="Select today's date"
            type="date" data-mini="true">
        </div>
        <input id="submit" type="submit" data-theme="c" value="Submit" data-mini="true"
        class="submit">
    </form>

Post a Comment for "Send Data To Parse Once The "submit" Button Has Been Clicked"