jcc
Member
I have javascript that is referenced in a change action for an item on my form. The only thing it does at the moment is show me the value of the ___property_id element in an alert:
form_44.js
function changeOwnerShown() {
alert($('___property_id').getValue());
}
The Text value of the element is 'Bob' and but the ID value is 42.
I've also tried: alert(form_44.formElements.get('___property_id').getValue());
Both show me the Text value from the look-up. How do I show the ID value of the ___property_id element?
form_44.js
function changeOwnerShown() {
alert($('___property_id').getValue());
}
The Text value of the element is 'Bob' and but the ID value is 42.
I've also tried: alert(form_44.formElements.get('___property_id').getValue());
Both show me the Text value from the look-up. How do I show the ID value of the ___property_id element?