I've got a MySQL db that contains "Yes" or "No" in char datafields.

 

When I use $.ajax to bring that into the DOM and output the data via ' +
row[12] + ', for example,

the values are converted to "true" or "false" when output on the screen.

 

What's the best method of getting "Yes" or "No" as the output instead of
"true" or "false?"

 

Thanks for any suggestions!

 

Rick

 

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

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

 

Reply via email to