I have a file new.txt and a html file new.html.
In new.txt there are set of data separated by new line.
In new.html which is in the same drive i want to read the from the text file & then write to a <div id='x'> </div>
. Is it possible without any server programming & just use jquery to do it.
I tried $.get()
and load()
but was not able to get anywhere with the code. It displayed the file contents once i used the load()
but was not able to manipulate data. Thank you.