- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › jQuery Cloning
On my codepen example here
http://codepen.io/riwakawebsitedesigns/pen/PwppRM
I am able to clone rows fine, the problem I am having is if the previous table row has data in the input fields it clone that information to.
How am I able to stop it from doing that but still clone but make inputs empty when create a new row?
Perhaps you really don’t want clone
then….
@Paulie_D do you have any Jquey example like mine that can use var row_id = 1; and the + row_id.
What would you recommend?
@Paulie_D Hi I have just tweaked my code a bit in the javascript section let me know what you think all jQuery. “http://codepen.io/riwakawebsitedesigns/pen/vExmXY”
@riwakawd If that works, then great. I added a little to your original pen and it ends up like this:
Thanks, what would you think would be best to be able to preview image before upload. Just after some thing simple that can work with the row id.