Pull to Refresh and Form send to PHP

So guys, my 1st problem is about pull refresh I’m trying to refresh my “page-content” div, which stay under the nav bar. Got it in frontend, but it not works, only stay refreshing. I don’t have a js function for it in app.js

And second, I have a page to contact, already done get the data in alert with this


But how to send it? maybe e-mail, or can be to an php file, which hosted in my server to insert into db (this part I know), but the content of the form, how to send it? and the only way is to send it as ex.: $_POST[“name”] ???

Thanks guys!