Search code examples
jqueryhtmladd-this-event

How to get the input text value and set it to span text using jQuery?


I have a form with some input elements like text, dropdown, radiobuttons, etc in my html page. I want to get the entered value in the input text element, selected value or text in the dropdown element (and so on based on input elements type) and set them to text or value of different span elements before submitting the form? I need it as I am trying to implement addthisevent button on my form so that users will be able to save information to their calendar before submitting the form.


Solution

  • Try to add the Addthisevent button dynamically through jquery or javascript.