Jump to content

Code for modal dialog box


greatchap

Recommended Posts

Hello Guys,

 

I am not a php or web developer. I need to do some work in a login php script and I know just enough php to do that.

 

Basically I am in a function where I get some data entered by user. I need to validate that and if there is a problem tell the user what it is. One option is to use javascript and use the alert command to show a message box. I want a slightly better option. Something like showing a dialog box form/box with text and an ok button.

 

Can you guys give me a function which takes 2 inputs like title and text and does the job.

 

for e.g. ShowMessage("Title","How are you?");  // and this does the job.

 

Thank you,

 

Cheers,

GR

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.