LienGilhooley
6 years agoQrew Cadet
Blur event no longer fires now that the select field is a type-ahead-search picker
I had a good amount of custom code that used to fire on a blur event of the old drop-down controls that no longer work since QBase implemented the type-ahead-search pickers.
My existing code:
// ============
// takes the default product specs and populates the
// input product specs field, allowing the user to modify the value, if needed
// fid_93 = chosen product
// ============
$("#_fid_93").blur(function() {
var DefProductSpecs = $("#tdf_67").text();
$("#_fid_165").next("div[contenteditable]").html(DefProductSpecs);
}); /* $("#_fid_93").blur(function() */
Even though the form UI says the Chosen Product field has an ID = 93, the field ID and name and ID in code is no longer "_fid_93" from what I can see using the debugger console/inspector.
What events are available for these new type-ahead-search pickers? OnChange? OnBlur?
My existing code:
// ============
// takes the default product specs and populates the
// input product specs field, allowing the user to modify the value, if needed
// fid_93 = chosen product
// ============
$("#_fid_93").blur(function() {
var DefProductSpecs = $("#tdf_67").text();
$("#_fid_165").next("div[contenteditable]").html(DefProductSpecs);
}); /* $("#_fid_93").blur(function() */
Even though the form UI says the Chosen Product field has an ID = 93, the field ID and name and ID in code is no longer "_fid_93" from what I can see using the debugger console/inspector.
What events are available for these new type-ahead-search pickers? OnChange? OnBlur?