websolete
03/25/2022, 4:01 AMmauzer
03/25/2022, 12:57 PMgus_dancy
03/25/2022, 4:14 PMDave Merrill
03/25/2022, 7:33 PMdocument.getElementById('incidentsourceid_12').dispatchEvent(new Event('click'));
But that doesn't run the handler (or toggle the checkbox, which is fine).
This does work, but eval is more or less against my religion:
eval(document.getElementById('incidentsourceid_12').getAttribute('onclick'));
Related, is there a general js Slack channel?PK
03/26/2022, 12:51 AMjohnbarrett
03/26/2022, 4:38 AMjohnbarrett
03/28/2022, 7:59 AMwebsolete
03/28/2022, 1:23 PMnickg
03/28/2022, 3:50 PMGraham
03/29/2022, 12:20 AMDave Merrill
03/29/2022, 1:16 PMsimiane
03/29/2022, 3:33 PM<cfscript>
myArray = ['foo','foo','foo','bar'];
myCriteria = 'bar';
filteredArray = myArray.filter(function(myArrayVal, criteria = myCriteria){
return Arguments.myArrayVal == Arguments.criteria;
});
writeDump(filteredArray);
</cfscript>
dick
03/30/2022, 11:13 AMSimone
03/30/2022, 7:48 PM<cfqueryparam cfsqltype="cf_sql_integer" value="#form.id#" null="#NOT len(trim(form.id))#">
Michael Gillespie
03/30/2022, 7:50 PMsthornton1978
03/30/2022, 11:27 PMSebastiaan Naafs - van Dijk
03/31/2022, 1:39 PMManta
03/31/2022, 2:19 PMMark S.
04/01/2022, 2:35 PMbdw429s
04/01/2022, 2:53 PMsatauros
04/01/2022, 6:02 PMfmdano
04/01/2022, 7:21 PMlarryclyons
04/01/2022, 7:25 PMSimone
04/03/2022, 1:00 AMAdam Cameron
Mark S.
04/03/2022, 3:27 PMDavid Price
04/03/2022, 10:20 PMMark S.
04/04/2022, 2:17 PMPK
04/04/2022, 5:02 PMTEMann
04/05/2022, 6:01 PM