how can i add a check so the JS have single and do...
# javascript
s
how can i add a check so the JS have single and does not break right now its breaking using coldfusion 2021
Copy code
<cfset struct['id'] = '<button type="button" class="btn btn-primary btn-sm" onClick="Check('ID#qry.id#');"><i class="fas fa-cogs"></i></button>'>
n
You can escape the
'
:
Copy code
Check(''ID#qry.id#'')
💯 1
s
Thanks