I don’t know right way to pass event argument for click function.
So I can’t pass that course:
Who can help me?
UPDATE:
My answer is like below, but it still doesn’t right.
function addBarClickEvent($bar,value) {
$bar.click(
function(e) {
alert(value);
}
);
}
The event argument is passed in the click function as follows
EDIT
This is how the code started
This is how my code looks like inside the function
Though I just tested and it works fine the other ways too. Try resetting and typing it over