note 15292 added to index

From: Date: Tue, 04 Sep 2001 21:19:16 +0000
Subject: note 15292 added to index
Groups: php.notes 
Request: Send a blank email to php-notes+get-17619@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)')) http://www.php.net/manual/en/index.php

« previous php.notes (#17619) next »