Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: Passing data from one form to another, on November 17, 2002 at 06:10:19:

You are here: 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

©2018 Martin Webb