Javascript function not working on serverside processing tables.
Javascript function not working on serverside processing tables.
eloyfernandes
Posts: 2Questions: 2Answers: 0
Hi, I'm having troubles with my code, I have an anchor tag with onclick option that calls a function, but when I click the anchor tag the event doesn't trigger, what could be happening? here's my code (I'm using ruby on rails)
https://www.pastiebin.com/59cbf6b0204a8
check the line 52
that function only has an alert that says "hello world" but doesn't work.
please help
This discussion has been closed.
Answers
I would suggest that you use a jQuery delegated event rather than a DOM0 event.
Allan