I am trying to get the source code of html by using a xmlhttprequest with a url. Is there anyone who can help me with this? I am new to programming and I am not too sure how can I do it without jQuery. Thanks in advance.
|
use jQuery
data is your html without jQuery
|
|||||||||||
|
There is a tutorial on how to use ajax here: http://www.w3schools.com/ajax/default.asp This is an example code taken from that tutorial:
|
|||
|