Click here to Skip to main content
15,884,598 members

Comments by Jame_T (Top 3 by date)

Jame_T 19-Jan-22 7:38am View    
You're right, it does work, there was something else causing it to not work.
My rows/forms were inside another form tag like this: jsfiddle - and that caused it to only show the inputs in the first row, regardless of which button was pressed.
What's strange is in that jsfiddle it does work regardless... Anyway, once I moved the form end tag above it started working. Thanks a lot!!!
Jame_T 19-Jan-22 3:18am View    
Thanks, but it only returns that element from the first row, regardless of which button i press...

I think the onclick save argument is what needs to be changed to return only the current form - but not sure how...
Jame_T 1-Sep-21 14:34pm View    
Thanks! That seems to work, except the whole function will still run if input validation fails (a required inpout is not filled). Meaning, the button still will get disabled, while the browser focuses the input and says its required.
Any workaround for that?