[jQuery] disable or replace plugin
Hello,
i've own plugin.
My code:
$('#jXInput').tellMe('rpc.php', {noCache: true, param:
'rType=zum&rGroup=1', dataProcessing: function(d, sD) {
$('#jXInput').parents('tr').eq(0).children().each(fillIt);
function fillIt(index, el) {
if (!index)
$(el).children().val(d[1]);
else if (index == 3)
$(el).text(d[2]);
}
}});
sometimes i need send param 'rType=zum&rGroup=2', but plugin is
already hooked on #jXInput, when i bind it second time (with different
arguments), plugin is called twice (one with old param and second with
new param).
I need how to disable plugin on #jXInput or how to change parameters
in calling this plugin.
Thank you for your help and advices.
Lampa