Hi,
desperately struggling on this without effort. Now it’s time to ask the
pro’s.
I want to fetch a merged document by clicking a button. My Javascript
call looks like this:
var url =
"/egroupware/etemplate/process_exec.php?menuaction=infolog.infolog_ui.index";
var post = {};
post.content = {};
post.content.nm = {};
post.content.nm.nm_action = “document_document9.txt”;
post.content.nm.selected = 10;
$j.ajax({
type: ‘POST’,
url: url,
data: post,
success: function(data) { console.log(data); },
dataType: “html”
});
With process_exec, the etemplate id is missing. So no success here so far.
If I try with
var url = “/egroupware/json.php?menuaction=infolog.infolog_ui.index”;
I need to have a extra function in infolog_ui whose name starts with
"ajax_". I want to avoid this.
Any help appreciated. I’m surely missing something…
Thanx
Christian
Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers