Subject Re: [firebird-php] Grid data entry
Author Rajesh Kumar
Milan Babuskov wrote:

>>>If you're about to edit the entire tables, you can
>>>make one hidden field which shows wheter any field in that row is
>>>changed, so you don't have to update rows which are left intact.
>>
>>Can you please elaborate on how you do this with purely PHP. No JS please.
>
>
> I see you guys have elaborated this over the weekend. But, why not JS?
> Most modern browsers support it very well, especially this simple
> things. The thing I described works in production on Windows (IE) and
> Linux (Mozilla) without any "if browser == IE do this else do that"
> stuff. This is just getting/setting field data.

Ya, you're right. Its not that I hate JS. I was just surprised to see
someone achieve what I wanted easily with only PHP. I'm no JS expert
here, but I'd love to learn how one could achieve this with JS. Atleast
a pseudo code?

Something like:

onChange(textBox1)
populate someArray ?

But then how would one go about transferring this array, so that it can
be handled with PHP?


--
[ Rajesh Kumar ]
_________________________
http://www.meetRajesh.com/