How display text with msgbox in JSP

How I display text in msgbox in JSP ?
bworldAsked:
Who is Participating?
 
basav_comCommented:
0
 
KuldeepchaturvediCommented:
just like an HTML

<Input type=text name="yourmsgbox">
0
 
bworldAuthor Commented:
I want to display text with dialog message
Dialog-Box.jpg
0
 
Murali MurugesanFull stack Java developerCommented:
<!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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.