function submitMe var city tripster_setcity val var title tripster_tit

1
2
3
4
5
6
7
8
9
function submitMe(){
var city = $("#tripster_setcity").val()
var title = $("#tripster_title").val()
var content = $("#tripster_content").val()
var url = 'http://devel.tripster.ru/api/bookmarklet/post_article/'
$.ajax({type: 'GET', dataType: 'jsonp', url: url, data: {title: title, content: content, image_urls: img_array, uid: uid, geonameid: geonameid}, success: function(data) {
}});
}