Hi i am having trouble with my ajax code.
It take 1st result data-id data and post to other page but it not doing that for all but there is all created exact same using foreach loop.
Here is code and images
[php] foreach ($companySystem->getAllCompanyGroups($companySystem->getAllCompanyData()->id) as $value) {
if(System::checkOddEvent($srNo) == true){
echo "
Edit
Remove
";
}else{
echo "
Edit
Remove
";
}
$srNo++;
}[/php]
Ajax :
[php][/php]
Images :
All working fine if i click on first edit button :
https://s32.postimg.org/d64005zn5/working.png
Not working for other options
https://s31.postimg.org/52jcz9fc7/notworking.png