request.open("GET", selectedTab + ".html", true);
Will this respond me back with the whole html page or just the text part in some specific tags, as if. If my html page has images and paragraphs, what exactly will be retured to me in my request object, and how can i use individual tags(using javacript), if it returns them all?
For example, say my html file is
hello
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<link type="text/css" href="something" rel="stylesheet">
</head>
<body>
<p>hello</p>
<img src="something.jpg" />
</body>
</html>
now how do i get the individual coponents of the file.
request.open("GET", selectedTab + ".html", true);
Will this respond me back with the whole html page or just the text part in some specific tags, as if my html page has images and paragraphs, what exactly will be retured to me in my request object, and how can i use individual tags(using javacript), if it returns them all?
say my html file is
hello
now how do i get the individual coponents of the file.
request.open("GET", selectedTab + ".html", true);
Will this respond me back with the whole html page or just the text part in some specific tags. If my html page has images and paragraphs, what exactly will be retured to me in my request object, and how can i use individual tags(using javacript), if it returns them all?
For example, say my html file is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<link type="text/css" href="something" rel="stylesheet">
</head>
<body>
<p>hello</p>
<img src="something.jpg" />
</body>
</html>
now how do i get the individual coponents of the file.
request.open("GET", selectedTab + ".html", true);
Will this respond me back with the whole html page or just the text part in some specific tags, as if my html page has images and paragraphs, what exactly will be retured to me in my request object, and how can i use individual tags(using javacript), if it returns them all?
say my html file is
hello
now how do i get the individual coponents of the file.
request.open("GET", selectedTab + ".html", true);
Will this respond me back with the whole html page or just the text part in some specific tags, as if my html page has images and paragraphs, what exactly will be retured to me in my request object, and how can i use individual tags(using javacript), if it returns them all?
request.open("GET", selectedTab + ".html", true);
Will this respond me back with the whole html page or just the text part in some specific tags, as if my html page has images and paragraphs, what exactly will be retured to me in my request object, and how can i use individual tags(using javacript), if it returns them all?
say my html file is
hello
now how do i get the individual coponents of the file.
Asynchronous request
request.open("GET", selectedTab + ".html", true);
Will this respond me back with the whole html page or just the text part in some specific tags, as if my html page has images and paragraphs, what exactly will be retured to me in my request object, and how can i use individual tags(using javacript), if it returns them all?