embarrassingly easy question on JS

by "Hilma" <Hilma(at)hilma.freeserve.co.uk>

 Date:  Mon, 6 May 2002 10:42:32 +0100
 To:  <hwg-basics(at)hwg.org>
 References:  S0026260871 bert S00262608712 S00262608713 hilma king
  todo: View Thread, Original

hi all -

This is very basic (but it is a basic list ;-) -
and although  it is an HTML list, not a JS list, i hope someone will still
help!

I have succeeded in passing my photo name and title, as a string, to a new
page:

"javascript:openWindow('HHPhotoSingle.htm?Pic=DofE02,The Duke of Edinburgh
Team.','myNewWindow',800,600)"

But, the spaces have all been replaced by %20 in the JS, so when i display
this title, i get

"The%20Duke%20of %20Edinburgh%20Team!

I cannot work out what to look for in the thick JS manuals i have, and
whilst this must be pretty easy to fix, i can't find the correct page :-(

many thanks -

h.

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA