This topic is locked
[SOLVED]

 Creating a Message Box

10/21/2015 12:17:09 PM
PHPRunner General questions
S
stevelewis author

I'd like to be able to create a Message Box that is informative to the user of what is going on. I know we have the "echo command" but that looks very simple and doesn't standout. I'd like to create a button and then when the button is pressed some code is executed and a Message Box comes up with an OK button and says something like, "Processing Complete, Press OK to continue." I can think of many uses for this.
Any thoughts?
-Steve Lewis

C
cristi 10/21/2015

You can use something like this.

Admin 10/21/2015

The simplest approach is to use alert() function in events like ClientBefore or ClientAfter:

alert("Processing Complete, Press OK to continue.");


If you are looking for something fancier check link provided by cristi

S
stevelewis author 10/21/2015

Thank you for your suggestions. I'll start simple with the "alert message" and then I'll try the fancier solution if I can figure out where to put the downloaded files.
Appreciate it very much.
-Steve Lewis

C
cristi 10/22/2015

I'll try the fancier solution if I can figure out where to put the downloaded files.


You can find instructions for this in the phprunner online manual here.
You can see an implementation in phprunner on one of my sites - it is not in English but push the very wide button from the right and make sure that you have flash enabled - it just copy some links in the clipboard - here .

J
John 10/26/2015

Cristi:
This javascript implementation is 100% easier to use and cleaner than using the jQuery dialog box. It works great...
Thanks again for suggesting it...
John