Answers for "alpine js x-on click not working"

0

alpine js x-on click not working

don't forget to add x-data="{}".

for example:
<tr x-data="{}">
	<td>
    	<button type="button" x-on:click="alert('hello world')">
    </td>
</tr>
Posted by: Guest on April-25-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language