in reply to Re: Validation in forms using Perl
in thread Validation in forms using Perl

Hi. Yes it works. Here is an exerpt of what use for a problem like yours :
... &ConfirmBox("OK : Le device " . $o_nom . "a été renommé " . $n_nom . " dans ManagIP."); ... ... # + # You can use the javascript:alert instead + # + sub ConfirmBox { my ($Message) = @_; print "<html><body onload=\"javascript:confirm(\'" . $Message . "\\nCliquer sur OK pour continuer." . "\')\"></body></html>" }
Hope it'll help.
--
cmic. Life helps. Perl Too.

Replies are listed 'Best First'.
Re^3: Validation in forms using Perl
by Anonymous Monk on Jun 02, 2005 at 07:24 UTC
    I think you're confusing the issue. The OP knows he can print javascript/html, but its still the browser that pops up the alert.