HOWTO make AJAX-part in your plugin
$.get('plug.php?r=my_plugin', { id: 123, name: 'Peter' },
function(data){
alert("Data Loaded: " + data);
});
$t->assign('MY_JS_FUNC', "$.get('plug.php?r=my_plugin', { id: $id, x: '" . sed_sourcekey() . "' },
function(data){
alert('Data Loaded: ' + data);
});");$t->assign('MY_JS_FUNC', "$.post('plug.php?r=my_plugin', { a: 'send', name: 'Peter', x: '" . sed_sourcekey() . "' },
function(data){
alert('Data Loaded: ' + data);
});");ajaxSend({
url: 'plug.php?r=my_plugin',
method: 'POST',
formId: 'myformid'
})Tutorials through examples are the best thing. People who create in Seditio on daily basis are so much into the code that they assume what they write is easy to understand. In fact it isn't.
A working example would be good.
nice documentation. Works well 
ill have that example for you peeps in a minute.
Are there standard items now that work with AJAX.
What I mean is, can I get the content of:
Polls,Online,tagclous, news, new in forums (stuff that are in the index)
on a AJAX way...
I want to hide stuff from the index, and get it with AJAX when the user needs it... (ondemand)
hope to hear from someone
We need an example. I have been working on trying to apply AJAX on one of my plugins, but it seems that the MarkitUp plugin is not solid (does not use all features) enough to put it as an example.
Insgesamt: 7, auf Seite: 7
is there any actual working example here at the docu?