function submitMe var geoid tripster_geoid val var title tripster_titl

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
function submitMe(){
var geoid = $("#tripster_geoid").val()
var title = $("#tripster_title").val()
var content = $("#tripster_content").val()
var uid = "c4be51b3aa7f56236a899326cc9966be88ecddf1"
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, geoid: geoid}, success: function(data) {
console.log(data);
}});
return false;
}