javascript / PHP interaction
Posted: Wed Aug 27, 2003 9:20 pm
Maybe it's just late in the day and I'm not thinking straight anymore, but I'm having some real trouble figuring out how to do this:
I have an input text field. I want to make that input field so that onChange it updates a PHP array. But I'm having some trouble getting javascript to be able to pass information to PHP, since it renders in the opposite order. I'm trying to make fish jump upstream here. But I know that they can, somehow. God bless those salmon.
Alternately, how could I capture the value of ALL input text fields in a variable-length form onSubmit and write those values over those currently in an array? I had a system that I thought would work, but, well... it doesn't.
I have an input text field. I want to make that input field so that onChange it updates a PHP array. But I'm having some trouble getting javascript to be able to pass information to PHP, since it renders in the opposite order. I'm trying to make fish jump upstream here. But I know that they can, somehow. God bless those salmon.
Alternately, how could I capture the value of ALL input text fields in a variable-length form onSubmit and write those values over those currently in an array? I had a system that I thought would work, but, well... it doesn't.