R
Richard.L.White
Hello,
I'm hoping someone can help me here, I'm very new to xml & javascript
and am, consequently, running into an issue. I'm getting the following
xml document from an ajax call:
<?xml version="1.0" standalone="yes" ?><response><right><div>
<a href="CreateNewUser.php" title="Create a new user login">>>>Create
User Login</a><br/>
<a href="LayoutTest.php" title="Back to the Layout Test
Page">>>>Layout Test</a><br/>
<a name="n_test" href="index.php" title="Back to the
beginning!">>>>Welcome!</a><br/>
<br/>
<br/>
<input id="btnChange" class="LoginButton" type="submit"
name="btnChange" value="Right" onClick="changeElement('right');" />
<br/>
<input id="btnChange2" class="LoginButton" type="submit"
name="btnChange2" value="Welcome Content"
onClick="changeElement('content');" />
</div></right></response>
but I have no idea how to extract the data ( anything in between the
<right> tags ) as html. Any ideas or pointers on how I'd go about
this?? Thanks in advance for any help!!
I'm hoping someone can help me here, I'm very new to xml & javascript
and am, consequently, running into an issue. I'm getting the following
xml document from an ajax call:
<?xml version="1.0" standalone="yes" ?><response><right><div>
<a href="CreateNewUser.php" title="Create a new user login">>>>Create
User Login</a><br/>
<a href="LayoutTest.php" title="Back to the Layout Test
Page">>>>Layout Test</a><br/>
<a name="n_test" href="index.php" title="Back to the
beginning!">>>>Welcome!</a><br/>
<br/>
<br/>
<input id="btnChange" class="LoginButton" type="submit"
name="btnChange" value="Right" onClick="changeElement('right');" />
<br/>
<input id="btnChange2" class="LoginButton" type="submit"
name="btnChange2" value="Welcome Content"
onClick="changeElement('content');" />
</div></right></response>
but I have no idea how to extract the data ( anything in between the
<right> tags ) as html. Any ideas or pointers on how I'd go about
this?? Thanks in advance for any help!!