How do I redirect html page by using ajax skill?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: How do I redirect html page by using ajax skill?

  1. #1
    Join Date
    Jan 2005
    Posts
    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?

  2. #2
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,839

    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.

  3. #3
    Join Date
    Jun 2005
    Location
    St. Louis Missouri
    Posts
    2

    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
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center