DEV Community

Discussion on: CSS can help improve your HTML⁉ - Ep 2: buttons and links.

Collapse
 
loucyx profile image
Lou Cyx • Edited

I guess could be a button inside a form with the action set to the target URL, and a bunch of hidden fields with the data you want to pass to the target URL. If you want to use JS, you could just do the redirect from the click event of said button.