input光光标到最后的折中解决方案
This commit is contained in:
parent
9e01f02a66
commit
ee661bb6d4
|
@ -15,4 +15,6 @@ $('#ajax-modal').siblings().remove();
|
|||
$('#ajax-modal').before("<a href='javascript:void(0)' onclick='closePopUp();' style='margin-left: 435px;' class='resourceClose'></a>");
|
||||
$('#ajax-modal').parent().css("top","").css("left","");
|
||||
$('#ajax-modal').parent().addClass("popbox").addClass("resourceUploadPopup");
|
||||
$('#ajax-modal').css("padding-left","16px").css("padding-bottom","16px");
|
||||
$('#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