I have dynamic field name value I got from function args so I need to pass this field name to wrapper i.e i have
let fieldname ="fullname"
then i need to pass fieldname as variable in 'data-fieldname' value in the next wrapper:
$("div[data-fieldname={fieldname}] > div.form-group > div.control-input-wrapper >
div.control-value").css("display", "Block")
I have tried the curly braces as above but not working. Thanks in advance