parent
7b6a3eaa4f
commit
b77deed31c
Binary file not shown.
Binary file not shown.
@ -1,7 +1,14 @@
|
||||
<script>
|
||||
$(function () {
|
||||
$('#Type').change(function () {
|
||||
$(this).parents('form').submit();
|
||||
$(function () {
|
||||
$('#Type').change(function () {
|
||||
var id = $(this).find(':selected').val();
|
||||
$('#Url').parent().find('#ajax').html('');
|
||||
var url = '@Url.Action("Ajax")?type=' + encodeURI(id);
|
||||
$.get(url, function (html) {
|
||||
$('#ajax').html(html);
|
||||
reset();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
Binary file not shown.
After Width: | Height: | Size: 121 KiB |
Binary file not shown.
Loading…
Reference in new issue