i im using a foreach(item in model) loop inside a to create table rows that containt the item properties. i\'m trying to get a script that works when i click on every button in