User Profile

Collapse

Profile Sidebar

Collapse
vasilis
vasilis
Last Activity: Oct 10 '09, 02:17 PM
Joined: Aug 4 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ok acoder, thanks for the help.
    I just erased everything having to do with Ajax and added the line:
    Code:
    window.location.href=passed_url;
    and left the rest of the code intact.
    So the job is done by refreshing the page.

    What though, if I didn't want to have a page refresh and I wanted to capture into the <body> element the part from the xmlhttp.respons eText or the xmlhttp.respons eXML that is contained...
    See more | Go to post

    Leave a comment:


  • ok, I had a clue that I was not using window.open method correctly. Now, I want the container to be the browser window itself (the same one). In other words I want to output the page generated from the 'passed_url' script in the same browser window and not in a page element.
    Could you please specify the code for this?
    See more | Go to post

    Leave a comment:


  • vasilis
    started a topic How to capture a whole page through Ajax

    How to capture a whole page through Ajax

    I have a list box in a site with which I capture a selected value with the onChange event using the capture_value() function (code listed below).
    This function passes 2 arguments, i.e., 'str' which is the selected list box value and 'passed_url' which is a passed url for running a php script (which contains some url query parameters, e.g. 'somescript.php? var1=value1&var 2=value2&var3=v alue3').

    The capture_value() function...
    See more | Go to post
No activity results to display
Show More
Working...