Skip to content Skip to sidebar Skip to footer

Reading And Formatting Access Data

I'm using JavaScript and HTA to read data in access database (.mdb) on local but having a small issue. My JavaScript code is like this: function miseryBusiness() { var box = do

Solution 1:

If the lyrics are in a Memo field with hard line-breaks then the line terminator is almost certainly <cr><lf>, so try the following:

box.innerHTML = '<a id="miseryBusiness">' + lyrics.replace(/\r\n/g, '<br/>');

Post a Comment for "Reading And Formatting Access Data"