Reading Hex values from conf file!
Hi!
I'm having trouble solving this one. I'm reading a conf file via http from my local computer. In that conf file I have 8 different colours represented in HEX values e.g.
#3be6c4 etc. I'm reading the conf file as follows:
$.ajax({ url: "http://some_path/colours.conf?callback=?", type: 'GET', success: function(res) { var result = $(res.responseText); console.log(result); } });
What I would like to do is, grab the values and into my index.html. The will appear in a list. Any suggestions on how to go about with this. Thanks in advance!
Regards