curiouswebster
asked on
Need to open a Modal dialog in JavaScript
From inside a JavaScript function I need to open another Modal dialog, also in JavaScript
I use Razor (cshtml)
Please provide the syntax to open the dialog as wel as the syntax to create the dialog in JavaScript.
Thanks.
I use Razor (cshtml)
Please provide the syntax to open the dialog as wel as the syntax to create the dialog in JavaScript.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
dialog("open) opens a modal pop-up with message $("message_dialog")
ASKER
Yes, I want that.
What's the syntax?
Can I put that inside JavaScript?
What's the syntax?
Can I put that inside JavaScript?
ASKER
How do I get text in the body of the message box?
ASKER
I thought via a div tag, but it's not working.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
ASKER
I was thining more like this:
$("message_dialog").dialog
Please explain the second method.