Below is a function where I generate dynamic div using javascript. I want to use javascript onclick() on the dynamic div generated.But I am not getting the actual value on the variable while onclick executes. Also no adjacent onclick() not working. Thanks in advance.Below is a function where I generate dynamic di