Here I want to get the button value and the data-itemid on the button click. Now button value will get but None return from the data-itemid and the button is inside a loop.