..modules you must have seen the iframes used for realtime result display. In this tutorial I'm going to show you how to insert them into your module and how they function. what we..
THC xConverter is a tool that makes use of (php) functions in order to calculate, fetch, convert and encrypt data
$(document).on("submit","form.sendform",function(e){
e.preventDefault();
dataString = $("form.sendform").serialize();
var submitbutton = $('input.bprint').val() ? "bprint" : "cbprint";
$.ajax({
type: "POST",
url: "Modules/thc_xm/mapper.php",
data: dataString,
dataType: "json",
beforeSend:function(){
$('input.'+submitbutton).hide('slow');
},
success: function(json){
if(json.jresult==false){
$('input.'+submitbutton).show('slow');
alert(json.jerror);
}
else{
$("form.sendform").after("<div class=\"spacingmsg\">"+(submitbutton=='cbprint' ? json.jmessage : "Successfully created map.")+"<br /><a href=\"index.php?module=thc_xm\">[ back ]</a></div>");
$("form.sendform").remove();
}
}
});
});