José Carlos wrote:
Hi.
I have an array with mysql´s data. I have used this array with several text
box in a formulary.
My question is: How could i use the event onchange to make a function which
update the data of array when i would have change data in a text box.?
Thank you.
Regards.
Jose.
Short answer: You can't. Javascript is client side - it has no library
or facility to talk with MySQL or any other database that would exist on
a server.
Also: I do not believe you can communicate with a server without the
screen refreshing - an alternative would be a copy of your data held in
a seperate window/frame which gets submitted while out of focus... this
would allow you to do the onchange event, but you'd have to have
something server side like PHP or Perl to take your data and write it to
the database.
Drop a byte in the comp.lang.php group for more info.
randelld