Dan P
04/24/2024, 3:32 PMerictgrubaugh
04/24/2024, 3:34 PMdialog.create and $.change?Dan P
04/24/2024, 3:36 PM.change in the pageInit and other places but no luck thus far.erictgrubaugh
04/24/2024, 3:37 PMerictgrubaugh
04/24/2024, 3:39 PMchange event, or the handler is being assigned before the target field existsDan P
04/24/2024, 3:40 PM.on as well.erictgrubaugh
04/24/2024, 3:41 PMDan P
04/24/2024, 3:42 PMDan P
04/24/2024, 3:46 PMerictgrubaugh
04/24/2024, 3:47 PMerictgrubaugh
04/24/2024, 3:50 PMconst target = jQuery("#elementId")
console.log(target)
target.change(() => {
console.log("on change")
selectedValue = target.find(":selected").val()
})Dan P
04/24/2024, 10:01 PMtarget is empty. 😡 This only recently stopped working so it could have been a NS update. Not sure.
The client script runs on a button click on a new address form. Maybe it's the popup within the address form pop up window that broke. Also tried putting stuff in the DOM but no luck. Ugh.