passing variables in javascript

From: Date: Fri, 23 Feb 2001 03:20:25 +0000
Subject: passing variables in javascript
Groups: php.general 
Request: Send a blank email to php-general+get-41253@lists.php.net to get a copy of this message
I have a text link that is coded to open a PHP file in a popup window: <a href="#"onClick="MM_openBrWindow('../email/popup.php?title=B2B+Antitrust:+Opening+Moves+in+the+Game&url=http://www.domain.com/biz/pubs.html#antitrust','email','width=410,height=435')">Emailthis article</a> For some reason the $url variables cuts off the anchor, so I only get this: $url = http://www.dttgfsi.com/ebiz/pubs_eviews.html I have tried escaping it (\#antitrust), but the doesn't work. Any suggestions would be appreciated ... Nick

« previous php.general (#41253) next »