-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
select type gives "success is not defined" #897
Comments
Same problem: http://issues.wenzhixin.net.cn/bootstrap-table/#issues/986.html This PR cause the problem: #876 @vitalets @lorvent. |
hmm, @wenzhixin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When saving data with type='select', it gives an error that "success is not defined"
Same problem mentioned in issue#884 but it was closed with no explanation.
here is a live of my code: http://52.64.25.92/login/test.html
here is my code:
$("#myEditor").editable({ name:'name', type:'select', pk:2, title:'Select one', url:'returnOk.php', //this file always return httpcode 200 source:[{"value":"1","text":"VALUE 1"},{"value":"2","text":"VALUE 2"}], value:1, success:function(data,config){ alert("ok"); //this line works } });
The text was updated successfully, but these errors were encountered: