Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Submit-Button that scrolls with the page

Tags:

html

jquery

css

I have a page with lots of <input type="text"> fields. Not every single one has to be filled. When the user decides he is ready, he should click on the submit button. Normally I would put the submit button at the bottom and/or Top of the page.

But it would be great if the button would scroll down with the user.

Is there any way to do so?

like image 332
Tommek Avatar asked May 25 '26 15:05

Tommek


1 Answers

use css:

#mybutton {
   position: fixed;
}
like image 106
yuvi Avatar answered May 28 '26 03:05

yuvi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!