-
September 12th, 2007, 10:31 AM
#1
How do I redirect html page by using ajax skill?
I used ajax's post method in "a.htm" to make a query request to a servlet page, this servlet page processed the query and report the result to another html page, "b.htm". How do I write it?
-
September 12th, 2007, 10:53 AM
#2
Re: How do I redirect html page by using ajax skill?
Seeing your code would help us to understand.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 18th, 2007, 11:44 AM
#3
Re: How do I redirect html page by using ajax skill?
What ever the page returned by servlet should have unique ids for each of its page elements. By using getElementById method you can update the elements as the way you want it.
Ex:
getElementById('elementId');
getElementById('textBoxId').value = 'SomeText';
Thanks
Poops
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|