I develop tool to get JSON data with JQuery but the problem is some variables don't put their values and I've got the variable name like a text only. This the code
$(document).ready(function(){
$('.HTML').each(function(){
var call = $.getJSON('http://test-khamsat-support-gig.blogspot.com/feeds/posts/default/-/Break?max-results=10&orderby=published&alt=json-in-script&callback=?',function(data){
var cont = data.version;
});
var th = $(this);
var b = th.html(),
a = b.match(/[^[\]]+(?=])/g);
if(a){
if(a[2] == 'one'){
th.append("<h1>'+cont+'</h1>")
}
}
});
});
The code will run just in my blog because it content my blog feed
"+cont+"
")` – Arun P Johny Mar 04 '14 at 13:19