I have the following scripts as examples, but I don’t really understand what they do. If someone could give me a brief explanation that would be great, thankyou.
1) countryDropdown.init(true, JSON.parse(‘@Html.Raw(Json.Encode(Model.CountryViewModel.Cities))’));
$(document).ready(function() {
initDatepicker.initDay($(‘.input-append.date’), true);
loadFilterValues.load();
initSelectPicker.init($(‘select[name=PeopleIds]’), ‘Any Person’);
});
2)
$(document).ready(function() {
$(‘.btnDelete’).click(function() {
$(‘.btnConfirm’).attr(‘href’, $(‘.btnConfirm’).attr(‘href’) ‘?id=’ $(this).data(‘id’));
});
});
}
3) Also, in some areas I have seen references like ”
” referenced with no other code, does this actually do anything? Thanks in advance!