Hi thank you for reading!
I have a checkbox form that takes all the data from a database.
there are 3 columns in the form: id, link, action('submit' button)
when a user clicks the 'submit' button under column 'action', the browser will load the co开发者_开发技巧rresponding link in the same row.
i've been working this for a while, couldn't find anything on Google. so now i only have something like this: when the user clicks any button, the browser generates all the links appeard in the form instead of the just generating the one i clicked.
If you guys could help, it'd be great.
Thank you
Put a <form>
/</form>
in each row, not one for the whole table, if you only want that row's values to be submitted. Make sure there is an input (hidden or otherwise) in that form that somehow identifies which row is being submitted.
精彩评论