parent
6530c657ee
commit
898fe7e9c9
|
@ -2,7 +2,7 @@
|
|||
function get_options(value) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: '/school/get_options/' + encodeURIComponent(value),
|
||||
url: 'http://<%= Setting.host_name%>/school/get_options/' + encodeURIComponent(value),
|
||||
data: 'text',
|
||||
success: function (data) {
|
||||
$("#occupation").html(data);
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
function get_options(value) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: '<%= Setting.host_name == "micros.nudt.edu.cn" ? '/ros/school/get_options/' : '/school/get_options/'%>' + encodeURIComponent(value),
|
||||
url: 'http://<%= Setting.host_name%>/school/get_options/' + encodeURIComponent(value),
|
||||
data: 'text',
|
||||
success: function (data) {
|
||||
$("#province").val(value)
|
||||
$("#province").val(value);
|
||||
$("#schoollist").html(data);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue