Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.