I would like to open a new window using a j-script function and send the url of the php page to the jscript function. It seems the url I'm sending is the problem.
Here's my echo statement:
echo( "
<a href='javascript:sproutWindow( 'showArchivedNewsStory.php?id=$id',400,500);'>$whenadded $heading</a><br />" );
My j-script function is sproutWindow( url,w,h )
I'm suire this is a syntax problem but I can't seem to get it working - any help is MUCH appreciated.
Mike