1 Reply Latest reply on Oct 15, 2003 9:03 PM by jonlee

    how to write a pop up window by Javascript?

    zqingru

      Our project are currently using JSP, Struts 1.1 and Jboss 3.0.6. We want to have a pop up window to confirm the deletion in the front end by JSP. Can anyone provide some sample codes to do this? Do I have to use Javascript?

      Thanks in advance,

      Qingru

        • 1. Re: how to write a pop up window by Javascript?
          jonlee

          Yes, you need to use client-side (browser) mechanisms to do this as the server-side JSP cannot directly spawn a new window on the client - part of the security contract for client-server operation.

          No, it is best to search a Javascript forum for more information on the appropriate Javascript code for your situation.