Solved

How display text with msgbox in JSP

Posted on 2009-03-30
5
4,122 Views
Last Modified: 2012-05-06
How I display text in msgbox in JSP ?
0
Comment
Question by:bworld
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 19

Expert Comment

by:Kuldeepchaturvedi
ID: 24019369
just like an HTML

<Input type=text name="yourmsgbox">
0
 

Author Comment

by:bworld
ID: 24019551
I want to display text with dialog message
Dialog-Box.jpg
0
 
LVL 12

Accepted Solution

by:
basav_com earned 500 total points
ID: 24019660
0
 
LVL 13

Expert Comment

by:Murali Murugesan
ID: 24381621
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <TITLE> New Document </TITLE>

      <script>
            function check(){
                  if(confirm("Are you sure?")){
                        //do something
                  }else{
                      //do something
                  }
            }
      </script>      
 </HEAD>
      
 <BODY>
      <INPUT TYPE="submit" onclick="check();"/>
 </BODY>
</HTML>
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question