..show you how to make a multi bridge between THC_DO, THC_SS and THC_II and keep track of the output in realtime using iframes. So what exactly are we going to do? First of all if you..
Discovers interesting locations, paths and data of a website
/* process task action */
$(document).on("click","a.action",function(e){
e.preventDefault();
$('.formdiv').remove();
var action = $(this).attr('title');
var did = $(this).attr('id');
$.ajax({
type: "POST",
url: "JSON/task_kill.php",
data: { sAction: action, sID: did },
dataType: "json",
success: function(json){
if(json.jresult==false){
alert(json.jerror);
}
else{
/* RESPONSE */
if(action=="complete"){
// update end time, links and status
$('.cc_record#'+did+' .dta .istate').html('<b>task state:</b> completed');
$('.cc_record#'+did+' .dta .iend').html('<b>time ended:</b> just now');
$('.cc_record#'+did+' .dta .ilinks').html('[ <a href="#" id="'+did+'" title="remove" class="action">remove task</a> ]');
}
else{
// remove the task
$('.cc_record#'+did).remove();
if(json.jempty){
$('div.devtable').after('<div class=\"spacingmsg\"><div class=\"resultheaders\" id=\"notice\">notice</div>No more tasks left</div>');
$('div.devtable').remove();
Cufon.replace('.resultheaders');
}
}
}
}
});
});
/* remove action */
$(document).on("click","input.action",function(e){
e.preventDefault();
$('.formdiv').remove();
var action = $(this).attr('id');
$.ajax({
type: "POST",
url: "JSON/task_kill.php",
data: { sAction: action },
dataType: "json",
success: function(json){
if(json.jresult==false){
alert(json.jerror);
}
else{
/* RESPONSE */
$('div.devtable').after('<div class=\"spacingmsg\"><div class=\"resultheaders\" id=\"notice\">notice</div>Task file is empty now</div>');
$('div.devtable').remove();
Cufon.replace('.resultheaders');
}
}
});
});