phpbar.de logo

Mailinglisten-Archive

[php] OT Javascript

[php] OT Javascript

Mario Aeby php_(at)_phpcenter.de
Mon, 25 Mar 2002 18:22:10 +0100


jo,

melde mich noch kurz zu wort ...

> function question(msg,togo) {
> 	check = confirm(msg);
> 	if(check == true) window.location.href = togo;
> }

noch ein wenig kürzer *grins*:

function question(msg,togo) {
	if(confirm(msg)) window.location.href = togo;
}

grüsse
mario
--
mario aeby, eMeidi.com
http://www.eMeidi.com


php::bar PHP Wiki   -   Listenarchive