Click here to Skip to main content
15,913,408 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi..,
How to Show error icon for message box in JavaScript for razor view engine
This is my JavaScript code for this I want error icon
JavaScript
$(".dialog").dialog({
           autoOpen: true,
           modal: true,
           title: "Information",
           width: 200,
           height: 200,
           draggable: false,
           resizable: false,
           closeOnEscape: false,
           buttons: {
               'Ok': function () {
                   $(this).dialog('close');
               }
           }

       });

can any one help me to solve this problem
Posted

1 solution

hi..
You can add the Error Icon in Your dialog holder

For Example:
HTML
<div class="dialog">
   //Here You can Add/show Error icon 
      or
   //add error icon in your dialog.css(style)
</div>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900