You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a straight clone of the cells in the fixed columns, this presents a problem on form submit if form inputs exist in the fixed columns. The value of the original form input (hidden beneath the clone) is posted.
I was able to get around it with a simple script setting the values before submit, but it would be a nice thing to address in the future.
In case anyone else runs into this, here's the script I used:
$(form).submit(function(){
$(selector).each(function(){
val = $(this).val();
name = $(this).attr("name");
if(val !== ""){
$("input[name='" + name +"'").val(val);
}
});
});
The text was updated successfully, but these errors were encountered:
With a straight clone of the cells in the fixed columns, this presents a problem on form submit if form inputs exist in the fixed columns. The value of the original form input (hidden beneath the clone) is posted.
I was able to get around it with a simple script setting the values before submit, but it would be a nice thing to address in the future.
In case anyone else runs into this, here's the script I used:
$(form).submit(function(){
$(selector).each(function(){
val = $(this).val();
name = $(this).attr("name");
if(val !== ""){
$("input[name='" + name +"'").val(val);
}
});
});
The text was updated successfully, but these errors were encountered: