Click item help to view code

Key release on item, execute JS:
$x_Style('P18_BG_COLOR','background-color',($v('P18_BG_COLOR') > 0 ) ? 'lightgreen' : 'red');
On load, execute JS
$(document).ready( function(){ // ends in ... $( "input[id$=SPINNER]" ) .spinner({ min : 0 ,change: function( event, ui ) {console.log('Changed:'+this.value);} ,stop : function( event, ui ) {console.log('Stop spin:'+this.value)} }); });