I've been trying to assign a function to onclick event of a dynamically created "a" tag in JavaScript. All of the tags are created in a loop as follows:
I have an event handler which is bound to a 'change' event. The problem is, functions within that function cannot access any elements of the parent function
I come again with my inabilities to comprehend javascript.
I have a draggable library and it has a command that is called like so (the _ag is just namespacing stuff):