05-08-2006, 04:43 AM
Is there any way to use several text fields to allow a user to set variables to be implemented later on in the page?
If so, is there a way to put the variables into groups using document.write() strings and alphabetize these by the first variable in them?
can u detail your aim? can you give us an algorithm of what you need?
05-10-2006, 04:35 AM
05-10-2006, 05:36 AM
You can't use document.write() like that. (http://developer.mozilla.org/en/docs/DOM:document.write#Notes)
You should learn about the DOM, which can be used to do things like that.
05-10-2006, 05:48 AM
put them in a array, sort them, loop through the array and append the text to a div or w/e.
var the_array = ;
something like that.