I have the button on a form below. * I know that making type = "button" prevents the button from submitting, but how do I still retrieve the value of the button if it's clicked?
The goal is that the user syncs their linkedin data. It also records that the button was clicked. I do not want the form to submit because I have another button that asks the user to sync their facebook data next.
<div class="center">
<button
class="btn btn-linkedin btn-lg"
data-bind="click: linkedinLogin"
name = "linkedin"
value = "linkedin_Submitted"
type = "button"
>
<i class="fa fa-linkedin fa-fw"></i>
<span>Sync linkedin</span>
</button>
</div>