input光光标到最后的折中解决方案
This commit is contained in:
parent
9e01f02a66
commit
ee661bb6d4
|
@ -16,3 +16,5 @@ $('#ajax-modal').before("<a href='javascript:void(0)' onclick='closePopUp();' st
|
|||
$('#ajax-modal').parent().css("top","").css("left","");
|
||||
$('#ajax-modal').parent().addClass("popbox").addClass("resourceUploadPopup");
|
||||
$('#ajax-modal').css("padding-left","16px").css("padding-bottom","16px");
|
||||
var val = $("#search_course_input").val();
|
||||
$("#search_course_input").val("").focus().val(val);
|
||||
|
|
|
@ -12,3 +12,6 @@ $('#ajax-modal').before("<a href='javascript:void(0)' onclick='closePopUp();' st
|
|||
$('#ajax-modal').parent().css("top","").css("left","");
|
||||
$('#ajax-modal').parent().addClass("resourceUploadPopup").addClass("popbox")
|
||||
$('#ajax-modal').css("padding-left","16px").css("padding-bottom","16px");
|
||||
//$("#search_project_input").focus();
|
||||
var val = $("#search_project_input").val();
|
||||
$("#search_project_input").val("").focus().val(val);
|
||||
|
|
Loading…
Reference in New Issue