..used one or more 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..
Creates a blueprint/map of a server folder
$(document).on("change","input.feedquery",function(){
var pathname = $(this).val();
if(!pathname){
return(false);
}
var url = pathname.split('?');
if(url[1]){
$(this).val() = url[0];
}
$('form.uform').get(0).setAttribute('action', $(this).val());
});
$(document).on("change","select.method",function(){
$('form.uform').get(0).setAttribute('method', $(this).val());
});
$(document).on("change","input.uploadvar",function(){
$("div.modright#dinput").html("<input type=\"file\" name=\""+$(this).val()+"\" class=\"file\" />");
});
$(document).on("change","input.query",function(){
$('div.hideme').remove();
var pathname = $(this).val();
if(!pathname){
return(false);
}
var query = pathname.split('&');
$(query).each(function(){
var request = this.split('=');
$('form.uform').append('<div class=\"hideme\"><input type="hidden" name="'+request[0]+'" value="'+request[1]+'" /></div>');
});
});