László Tóth has a wealth of experience in software development. László began their career in 1999 as a Developer at KSZKI. In 2006, they moved to NetAcademia, where they served as Lead Developer Trainer. In 2012, they joined Monster as a Software Engineer. In 2013, they began working as a Software Engineer at Scart Kft. and a Software Developer at TIE Kinetix.
I need to get the value of the selected option from a select box in a form.
I am using the following code to get the value of the selected option:
var selectedVal = $('#selectBox option:selected').val();
Is this the correct way to get the value of the selected option?
Sign up to view 0 direct reports
Get started