var new_form = $('form.disfavor', xml).get(0);
var dis = new_form.id;
var fav = dis.replace('disfavor', 'favor');
+ if (document.importNode) {
+ new_form = document.importNode(new_form);
+ }
$('form#'+fav).replaceWith(new_form);
$('form#'+dis).ajaxForm(disoptions).each(addAjaxHidden);
}};
var new_form = $('form.favor', xml).get(0);
var fav = new_form.id;
var dis = fav.replace('favor', 'disfavor');
+ if (document.importNode) {
+ new_form = document.importNode(new_form);
+ }
$('form#'+dis).replaceWith(new_form);
$('form#'+fav).ajaxForm(favoptions).each(addAjaxHidden); ;
}};