2009-07-30 5 views

답변

7

방금 ​​문제가 발생했습니다. 그것은 API/1.3/Selectors에서

$(':input[@name=submit]', form).length 

을 말한다 jquery.form.js 파일의 라인 (54)에있어, 내가 1.2에서 1.3으로 내 jQuery를 버전을 교체 할 때 아마 문제를 가지고

Note: In jQuery 1.3 [@attr] style selectors were removed (they were previously deprecated in jQuery 1.2). Simply remove the '@' symbol from your selectors in order to make them work again.

말한다. 이제, 그 라인을 수정하거나 내 버전의 jquery.form.js를 대체해야합니다. 유 얻을 수있는 이유는 Form.js 당신이 오류의 팝을 얻을 수있는 이유는이 오류를 볼 수 아래 오류 코드가 아래에있는 코드를 확인에서

1

...

if ($(':input[name=submit],:input[id=submit]', form).length) { 

    // if there is an input with a name or id of 'submit' then we won't be 
    // able to invoke the submit fn on the form (at least not x-browser) 

    alert('Error: Form elements must not have name or id of "submit".'); 
    return; 
    } 

그래서 지금 당신은 이해 이 오류는 이제 솔루션은 매우 간단합니다 .. 코드 위

Step 1--> Check Your input type="submit" name="submit" id="submit" 

그래서 그건 내가로서 지금까지 아래로 변경 한 다음 뭔가를 변경 양식에서 작동하지 않음 ..

enter code here 

input type="submit" name="save" id="save" 

thats It.

관련 문제