Echo PHP variable inside jQuery SwitchCase?
<p>I have a jQuery script that I am including on a PHP page that takes mt content and creates facebook/myspace share links.  I am having trouble echoing PHP code inside of the swith case statement that builds the share URL's.  Here's my code:</p>

<p>case 'facebook':
    this.href += '?t=' + document.title + '&amp;u=http://foobar.com/detail.php?id=';
    break;</p>

<p>The server isn't parsing the PHP code correctly, it's passing the value <code>id=&lt;?php echo "1";?&gt;</code> rather than 1.  Can I not insert PHP code into a javascript include?  </p>
