Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: php problem

  1. #1
    New to the CF scene
    Join Date
    Nov 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    php problem

    I am using a php code for which i am opening a window with a form using javascript window.open()....
    That page too contains a button which when clicked submits a form and performs a job ......

    but the problem is when i am clicking on the submit button another window is opening ??????????


    Can anybody help me why ??????? or how i can submit the form to same window

  • #2
    New Coder
    Join Date
    Sep 2007
    Location
    India
    Posts
    72
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Please paste the JS code (full function) you used for window.open() from the first window.

    Is it when submitting a form?
    - Developer from India

    Firefox 2.0

  • #3
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    That's what window.open() does unless you specify which window you want to open to. Maybe you're looking for window.location()? In any event if you want any real help you need to post the code.

  • #4
    New Coder
    Join Date
    Sep 2007
    Location
    Hanoi, Vietnam
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts
    just dont understand what you need ? Your submit button with the "window.open()" script will open another browser window, that's the must. Do you mean when you click the submit button, your another scripts don't execute anymore ??


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •