Skip to content
Snippets Groups Projects
Commit d534fe15 authored by PavelBegunkov's avatar PavelBegunkov
Browse files

button: search!!

parent bb2294be
Branches
Tags
No related merge requests found
......@@ -38,6 +38,7 @@
{% endfor %}
</select>
<input tupe="text" class="InputTeacherName default_input_text" placeholder="Фамилия Имя Отчество" value="">
<button class="searchBtn default_BlueButton">Поиск</button>
</div>
<div class="SearchResult">
</div>
......
......@@ -614,10 +614,11 @@
margin-right: 1%;
}
.SearchTeachers .SearchSettings .InputTeacherName {
display: inline-block;
clear: both;
margin: 0 1%;
margin-top: 10px;
width: 98%;
width: 88%;
}
......
......@@ -87,15 +87,28 @@ $(function() {
);
});
jDepartmentSelect.change(function(){
// jDepartmentSelect.change(function(){
// CallSearchTeachers();
// });
// jNameFilterInput.focusout(function(){
// CallSearchTeachers();
// });
// jNameFilterInput.keydown(function(e){
// if(e.keyCode==13){
// $(this).focusout("focusout");
// $(this).blur();
// }
// });
$(".searchBtn").click(function(){
CallSearchTeachers();
$(this).blur();
});
jNameFilterInput.focusout(function(){
CallSearchTeachers();
});
jNameFilterInput.keydown(function(e){
if(e.keyCode==13){
$(this).focusout("focusout");
$(".InputStudentName").keydown(function(e) {
if(e.which == 13) {
CallSearchTeachers();
$(this).blur();
}
});
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment