// Try edit message const data = { message: 'Hello world', } $('#msg').html(data.message) console.log(data)