Support the ongoing development of Laravel.io →
JavaScript Input

Hi,

I need to make an edit to a laravel application where the user is expected to read through an agreement before confirming their acceptance. I need to implement a function that makes the button greyed out until the user scrolls to the bottom of the textarea.

I have been trying to use vanilla JS and HTML to implement this from tutorials online but its not working.

Does laravel have a proper way to do this?

Thanks in advance.

Last updated 1 year ago.
0

So, in laravel, textarea does not respond to the javascript manipulation. It worked after I added a div with the JS ID .

0
Solution selected by @pierreac

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.