: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
return this.each(function() {
if (t === 'checkbox' || t === 'radio') {
} else if (this.tagName.toLowerCase() === 'option') {
var $sel = $(this).parent('select');
if (select && $sel[0] && $sel[0].type === 'select-one') {
// deselect all other options
$sel.find('option').selected(false);
$.fn.ajaxSubmit.debug = false;
// helper fn for console logging
if (!$.fn.ajaxSubmit.debug) {
var msg = '[jquery.form] ' + Array.prototype.join.call(arguments, '');
if (window.console && window.console.log) {
} else if (window.opera && window.opera.postError) {
window.opera.postError(msg);