"Alexey Smirnov" <(E-Mail Removed)> wrote in message
news:cb348d3d-50fd-4a69-a963-(E-Mail Removed)...
On Oct 7, 6:25 pm, "David C" <dlch...@lifetimeinc.com> wrote:
> I have an aspx page with Javascript that shows a message from a hidden
> textbox as shown below.
>
> var vmsg = document.getElementById('txtMsg');
> if (vmsg.value != '') {
> alert(vmsg.value);
> document.getElementById('txtMsg').value = '';
> }
>
> I would like to have the alert box display for 3 seconds and then close. I
> have tried the window.setTimeout with no success. Is there a way to
> accomplish this? Thanks.
>
> David
I think, you can't do this with JavaScript. You can do a hidden div
and show it instead of alert function, like in the example below:
http://forums.tizag.com/archive/index.php?t-961.html
Is there any asp.net solution, e.g. via Ajax popup control or something?
The process I need is on a asp:button click event Thanks.
David