|
Feedback on: Passing data from one form to another
irt.org | About | Feedback | 4280 [ previous next ] Feedback on: Passing data from one form to another
Sent by Mark Preston on November 17, 2002 at 06:10:19:
Worth: Very worth reading
Comments: Instead of the replace function to change "+" to " " this below has just worked for me, although more than one space just gets replaced by one space:- Replace the line var passed = location.search.substring(1); with var pssd = location.search.substring(1), passed = ""; for ( var i = 0; i < pssd.length; i++){ if( pssd.charAt(i)!="+") passed += pssd.charAt(i); else passed += " "; } Regards from Mark
Other feedback on 'Passing data from one form to another' - show all
|
|
Copyright © 1996-2008 irt.org, All Rights Reserved.