By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,575 Members | 1,293 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,575 IT Pros & Developers. It's quick & easy.

reading DOM through javascript

P: n/a
Jay
Hello all,

I have created a simple form in html and have a onSubmit() javascript
function that is called when that form is submitted. The form is an
authentication form and it has to be a post. What I want to be able to
do, if it is even possible, is to get just the html DOM from the page
after authentication has occurred and for the browser not to go to the
page specified in the "action" attribute of the form but stay in the
current page. So after users click on submit authentication would take
place in the background and I should be able to parse through the html
of the entry page.

Is this even possible to do with a form and javascript, or do I have
to do something completely different. One restriction is that I can't
use AJAX.

Thanks for any help,

..J
Nov 16 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Jay meinte:
>>HTML is an acronym, and the DOM is an API.
No shit Sherlock.

Try reading the post and you can figure out what they are trying to do.

What never ceases to amaze me is your inability to comprehend and
process simple things.

Wow, those were the same responses I would have given, you beat me to
it :) ...
and...
Using iframe seems to work, i can't believe i didn't think of that
before...
Thanks for your help.
What do you prefer - getting help in a not-so-nice response, or getting
nice responses with no useful information?

Your quoting is broken.

Gregor


--
http://www.gregorkofler.at ::: Landschafts- und Reisefotografie
http://www.licht-blick.at ::: Forum für Multivisionsvorträge
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Nov 16 '07 #2

P: n/a
Jay
On Nov 16, 2:20 pm, Gregor Kofler <use...@gregorkofler.atwrote:
Jay meinte:
>HTML is an acronym, and the DOM is an API.
No shit Sherlock.
Try reading the post and you can figure out what they are trying to do.
What never ceases to amaze me is your inability to comprehend and
process simple things.
Wow, those were the same responses I would have given, you beat me to
it :) ...

and...
Using iframe seems to work, i can't believe i didn't think of that
before...
Thanks for your help.

What do you prefer - getting help in a not-so-nice response, or getting
nice responses with no useful information?

Your quoting is broken.

Gregor

--http://www.gregorkofler.at::: Landschafts- und Reisefotografiehttp://www..licht-blick.at ::: Forum für Multivisionsvorträgehttp://www.image2d.com::: Bildagentur für den alpinen Raum
I don't know about you but I'd rather have best of both worlds, nice
responses AND useful information. But I guess that's too much to ask
for.

.J
Nov 16 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.