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
This change function executes correctly when I only need to set another element's value (line 5), but when I add the rest of the function (lines 3 - 4) it only executes correctly the first time and then stops working after that.
$('#select1').dropkick({
change: function () {
var option = $('#select2').find("option[value*=default]");
option.attr('value', option.attr('value').replace(/_default/g, ''));
$('#select2').val($('#select1').val());
}
});
I found a potential solution on a Drupal forum. I'm not a Drupal user so I don't know how to apply it to my situation, but I thought it might be helpful for someone more experienced than myself http://drupal.org/node/1342002 (the last posting by mossill)
The text was updated successfully, but these errors were encountered:
This change function executes correctly when I only need to set another element's value (line 5), but when I add the rest of the function (lines 3 - 4) it only executes correctly the first time and then stops working after that.
I found a potential solution on a Drupal forum. I'm not a Drupal user so I don't know how to apply it to my situation, but I thought it might be helpful for someone more experienced than myself http://drupal.org/node/1342002 (the last posting by mossill)
The text was updated successfully, but these errors were encountered: