Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8735179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:59:34+00:00 2026-06-13T09:59:34+00:00

Can anyone point out what might be the mistake here in this javascript. The

  • 0

Can anyone point out what might be the mistake here in this javascript. The first statement executes just fine but when i add another statement that is to be executed simultaneously, it doesn’t work.

    echo '<script language="JavaScript" type="text/javascript">
        //<![CDATA[
      window.open(\'./index_pdf.php?'.$query_string.'\',\'Einlagerung_EV\',\'location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,toolbar=no\');
        //]]>
    </script>';
    echo'<script language = "JavaScript" type="text/javascript">
        //<![CDATA[
        window.open('./save.php?','location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes');
        //]]>
        </script>';
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:59:35+00:00Added an answer on June 13, 2026 at 9:59 am

    You are stopping the script here: window.open('./save.php?','location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes');

    Use it like this:

    echo'<script language = "JavaScript" type="text/javascript">
        //<![CDATA[
        window.open(\'./save.php?\',\'location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes\');
        //]]>
        </script>';
    

    As you can see in the 1st example, it is using \', but you are using plain '. Since you open the tag with ', you cant use that symbol inside the script unless you want to break it intentionally. The symbol \ lets you use the quotes, without braking the script.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is what I have in mind: Can anyone point out some relevant resources?
Can anyone please point out what im doing wrong with this Stored Procedure please.
I know I might be doing something wrong. Can anyone please point out why
I am still a novice in the new stl members.Can anyone point out why
Can Anyone point Me in the direction of how to tell when, for example,
Can anyone point me at an example of a customized Google Chrome Frame install
Can anyone point me toward a Go library that will give me the ability
Can anyone point me to some documentation about how I can use an Iso
can anyone point to a site or describe how I can go about designing
Can anyone point me at a decent repository or dependency injection library for any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.