//sample solution to my_parse_app.js
$(window).on("html_loaded", function(e) {
$(".submit_button").click(function(e) {
// This creates our new Post object
var Post = Parse.Object.extend("Post");
var myPost = new Post();
// 1. Let's add some data for the key 'text'
myPost.set("text", "any string");
});
});
No comments:
Post a Comment