On my site it will have product tiles, each tile will have a button in it, tiles will be loaded by ajax call according to availability, i am using following function to initialize function with the div's. Here "add_+uid" is the id for the button
$('#add_'+uid).bind("click",addFunction);
function addFunction(){
...
}
I found that the code above will work only on page load, Can i use it like and is this a solution for ajax type scenario?
$('#add_'+uid).click(addFunction);
If this will not work any suggestion about this scenario?