View Single Post
  #1 (permalink)  
Old 8th June 2009, 09:55
goitalia goitalia is offline
D4PHP Enthusiast
 
Join Date: Apr 2007
Location: Milano
Posts: 182
goitalia is on a distinguished road
Default Edit field in a DbRepeater

Hi,
Let say you have a DbRepeater with an Edit Field,
I want in Js event on change take the input text and update a DB table.
Each Edit field belong to a different record in the table.
The record to wich the edit belong i can solve with a Button who have a new property Record_id.
when the user click on the button set to btNormal i do in js event
var str = document.getElementById('Edit1').value.
In this situation i get allways the first Text in the first Edit field.
How can i solve this?
Many thank's
Paolo
__________________
La guerre est un massacre entre gens qui ne se connaissent pas, et qu'il profite à des gens qui se connaissent mais qui ne se massacrent pas
Paul Valery
Reply With Quote
Sponsored Links