earch bearing also converted to POST
这个提交包含在:
父节点
a5f7a76290
当前提交
23f45ee5be
共有 1 个文件被更改,包括 14 次插入 和 1 次删除
|
|
@ -152,7 +152,20 @@ function qso_edit(id) {
|
||||||
|
|
||||||
$('#locator').change(function(){
|
$('#locator').change(function(){
|
||||||
if ($(this).val().length >= 4) {
|
if ($(this).val().length >= 4) {
|
||||||
$('#locator_info').load(base_url + "index.php/logbook/searchbearing/" + $(this).val() + "/" + $('#stationProfile').val()).fadeIn("slow");
|
$.ajax({
|
||||||
|
url: base_url + 'index.php/logbook/searchbearing',
|
||||||
|
type: 'post',
|
||||||
|
data: {
|
||||||
|
grid: $(this).val(),
|
||||||
|
stationProfile: $('#stationProfile').val()
|
||||||
|
},
|
||||||
|
success: function(data) {
|
||||||
|
$('#locator_info').html(data).fadeIn("slow");
|
||||||
|
},
|
||||||
|
error: function() {
|
||||||
|
$('#locator_info').text("Error loading bearing!").fadeIn("slow");
|
||||||
|
},
|
||||||
|
});
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: base_url + 'index.php/logbook/searchdistance',
|
url: base_url + 'index.php/logbook/searchdistance',
|
||||||
type: 'post',
|
type: 'post',
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用