Results 1 to 4 of 4
  1. #1
    vrk's Avatar
    vrk
    vrk is offline Member
    Join Date
    Jan 2009
    Posts
    24
    Rep Power
    0

    Post Javascript to generate popup window

    Hello Everyone,

    Greetings!!!

    Here is my query, on clicking a hyperlink, a pop-up window should appear and display some contents.
    i think this can be done using javascript.
    pls help me in finding the script to generate popup.

  2. #2
    Thennarasu's Avatar
    Thennarasu is offline Member
    Join Date
    Jan 2009
    Location
    Chennai, Tamilnadu
    Posts
    39
    Rep Power
    0

    Default

    its simple using the attribute target="blank" in anchor tag<A>
    One Life!!! Y Serious??? :)

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    but of course, you'll likely have quicker or better responses if you ask these questions in a JavaScript forum, not a Java forum. Best of luck.

  4. #4
    anjali is offline Member
    Join Date
    Mar 2009
    Posts
    9
    Rep Power
    0

    Thumbs up

    hi,
    if u r using <a> tag then onclick attribute can be used to call a function.In that function u can write code to generate pop up window.The pop up window can be generated by using JFrame class in awt package of java doc.
    Try it.

Similar Threads

  1. Java Popup Window & Url Query String Value
    By Rivelyn in forum New To Java
    Replies: 4
    Last Post: 01-20-2011, 05:03 AM
  2. Regarding popup menu in netbeans IDE
    By santhosh_el in forum AWT / Swing
    Replies: 2
    Last Post: 03-11-2009, 01:14 PM
  3. how we get popup window in java
    By baserohit in forum Advanced Java
    Replies: 1
    Last Post: 03-22-2008, 04:39 AM
  4. Communicating with JSP and popup
    By nilz in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-20-2007, 04:29 PM
  5. Popup in Java
    By fernando in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 06:55 AM

Posting Permissions

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