I was shown how to use this inline condition for creating yes/no Boolean
values instead of

the normal true/false values javascript uses:

 

<span class="spanRight">' + (row[20] ? 'Yes' : 'No') + '</span>

 

I'd like to know if there's an equivalent inline method for providing a
default value

when no value is present, such as:

 

<span class="spanRight">' + (row[20] ? 'NORMAL ROW[20] VALUE' : 'N/A') +
'</span>

 

Basically, if there's no value in the current row as position 20, then just
us 'N/A'.

 

Is this possible with a simple inline condition, too?

 

Thanks,

 

Rick

 

----------------------------------------------------------------------------
------------------------------------------

"Ninety percent of the politicians give the other ten percent a bad
reputation."  - Henry Kissinger

 

Reply via email to