Im geting the error in the title it marks only ">" in the end of line 2 i have tried to change it to /> or simple thing like that but it seems not working at all... the idea is to make a button that will send onclick this function using the ownerId That i gave using PHP. if it does matter [ownerId] => ec8d1073-544e-4330-bc9c-6fcfc3fe9bab thanks for reading and thanks again if you sent any help
<button onclick="SendCommMessageToOwner(<? echo $comm_data->info->ownerId; ?>)"
type="submit" class="elementor-button elementor-size-sm button-color-comm"> // right here
<span>
<span class=" elementor-button-icon">
</span>
<span class="elementor-button-text">שליחה</span>
</span>
</button>