note 15292 deleted from index by jimw

From: Date: Wed, 31 Oct 2001 00:50:07 +0000
Subject: note 15292 deleted from index by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19629@lists.php.net to get a copy of this message
Glen's new window version of the lookup bookmarklet script won't work in a link with the double-quotes, so here is the format for it if you want to create a link. Thanks to Steve Kanga of Bookmarklets.com for the debug. He pointed out that "Instead of double-quotes, use single-quotes on the outside, then escape the inner single-quotes with a backslash (i.e. \')." javascript:void(php=window.open('javascript:void(q=prompt(\'PHP Reference:\',\'\'));if(q)location.href=\'http://www.php.net/manual-lookup.php?lang=en&pattern=\'+escape(q)'))

« previous php.notes (#19629) next »