ok, I think I understand now, there is no check binding function or plugin that I know off.
If I have understood you correctly then this is how I would go about it.

I would check if a variable onclick is set, if found to not of been set, run through the ajax, and on the ajax callback, set the variable, then any other clicks after this will not run the function as the variable check will find the variable is set and return false.

Does that make sense?

sken wrote:
I don't do this intentionally. I DON'T want to bind several click
bindings on the object. Therefore i was just curious if there is a
check function to find out if there is already a binding.

Why would you bind several clicks to the object, all running the one
function?
That's my point. I DON'T WANT THIS.


On 21 Jul., 16:48, Liam Potter <radioactiv...@gmail.com> wrote:
can you show me your code, as I'm still struggling to understand just
what you are trying to achieve.
Why would you bind several clicks to the object, all running the one
function?

sken wrote:
there are several click binding.
so the function is triggered several times.
the function gets ajax content
instead of getting this content only once the ajax request is done
several times....

Reply via email to