Escaping LANSA field and column names in jQuery ID selectors
LANSA field names may have '$' in their names. List column names have '.' as separators in their qualified names (for example, LIST1.0001.EMPNO). To get the field ID that you can use in a jQuery ID selector, you can use the LANSA jQuery global extension lansa.makeSafeId().
var myvar = jQuery(jQuery.lansa.makeSafeId("LIST1.0001.EMPNO"));
This is equivalent to:
var myvar = jQuery("#LIST1\\.0001\\.EMPNO");