Remember to Take note that the scripts is going to be run just once upon the first render with the element. If you have to operate a JavaScript operate later - emit the celebration from your ingredient and hear it in JavaScript as explained listed here) https://laravel-livewire.com/docs/2.x/inline-scripts