| View previous topic :: View next topic |
| Author |
Message |
Klimapol Enthusiastic Coder
Joined: 27 May 2006 Posts: 134
|
That won't help me.
I wanted each row to contain a separate form.
Actually, that's what i've been doing until i ran into a javascript problem. went to validate and found out why :)
Reply with quote
|
| |
|
|
montanarry Enthusiastic Coder
Joined: 13 May 2006 Posts: 175
| |
Klimapol Enthusiastic Coder
Joined: 27 May 2006 Posts: 134
| |
montanarry Enthusiastic Coder
Joined: 13 May 2006 Posts: 175
|
Klimapol, wrap the whole <table> in a <form> and have a submit button per row ... and detect which button is clicked to work out which row is to be editted
A little ugly ... but it iwll work
Reply with quote
|
| |
|
|
Klimapol Enthusiastic Coder
Joined: 27 May 2006 Posts: 134
|
i thikn i'm going to bind an event to each field and use an xmlhttp request instead.
Get rid of submit all together.
It's the proper way anyhow, i just haven't done it before so i was avoiding it.
Reply with quote
|
| |
|
|
montanarry Enthusiastic Coder
Joined: 13 May 2006 Posts: 175
|
that will work if you know that all clients will have js enabled
Reply with quote
|
| |
|
|
Klimapol Enthusiastic Coder
Joined: 27 May 2006 Posts: 134
| |
montanarry Enthusiastic Coder
Joined: 13 May 2006 Posts: 175
| |
Klimapol Enthusiastic Coder
Joined: 27 May 2006 Posts: 134
|
Sure is!
Although it through me for a loop, i'm pretty new to js, and i was using addevent "onblur" and couldn't figure out why it wasn't working. lo and behold i had to use just "blur"
Oh well
Live and learn!
Reply with quote
|
| |
|
|
montanarry Enthusiastic Coder
Joined: 13 May 2006 Posts: 175
| |
| Page 1 of 2 |
Goto page 1, 2 Next |
|