Hi,
I'm new to jquery and went over quite a few tutorials -- some work
great for me, with no problems at all. But I'm having trouble with
the .clone() method.
I am trying to build an order form, and have a button#add, which when
clicked I want it to add another div.product-template (that in
Thank you Karl. I will be more careful next time.
-
The below
$('#$id').hide().bla-bla.appendTo('#verticals').show();
does not work for me because since it is not removed, when you submit it is
still part of the array a
I read somewhere that events must be bind when cloning so I remove the
parent. Please how do I bind the context menu?
$('#$id').contextMenu('chooser', {
bindings: {
'vert': function(t) {
$('#$id').remove().clone(true).appendTo('#verticals');
},
'horiz': function(t)
3 matches
Mail list logo