I have found the solution (and it is somewhat based on Qamal's suggestion for
assigning. thanks Qamal!)
Solution is to declare variable for new function, nested inside "main one"
and to bind that one as event handler. Also to add call to that nested
function when "main one" is called.
jQuery.dat
Yes, I have tried (and now again) and I still keep getting the same message.
Can the problem be something about order inside .js file? That the function
is not properly declared?
The first message I have posted contains full content of my .js file.
Qamal Kosim-Satyaputra wrote:
>
> did you try
did you try -> jquery.dataTableHandler(param1, param2+1, param3)
instead of -> dataTableHandler(param1, param2+1, param3)
???
you can try initializing the variable firsthand...
jquery.dataTableHandler = function() {};
or something... then assign the function, but i doubt thats necessary
On Sun,
I'm probably missing something major in how this should work, but I'm stuck
so here's the question:
JQuery code in file dataTableHandler.js:
jquery.dataTableHandler = function(param1, param2, param3) {
$.ajax({
method: "post",
data: ({newparam1: param1, newparam2: param3}),
urL: "..
4 matches
Mail list logo