I have this name on my input
driver_application[company_name]
and i need to create the label name to be
driver_application_company_name
Here is my jquery to get the input
$(".company_name").attr("name")
will return
driver_application[company_name]
how do i convert it to the right format with javascript or jquery …maybe regex
You can use the Javascript method replace: