mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
@@ -13,10 +13,12 @@
|
||||
}
|
||||
})();
|
||||
|
||||
$(document).ready(function ($) {
|
||||
$("select.recipe").change(function () { // class="recipe" on the select element
|
||||
(function($) {
|
||||
$(document).ready(function() {
|
||||
$("select.recipe").change(function() { // class="recipe" on the select element
|
||||
var description = $(this).find(":selected").attr("recipedescription"); // reads the html attribute of the selected option
|
||||
$("#recipedescription").text(description); // make the contents of <div id="recipe-description"></div> be the escaped description string
|
||||
});
|
||||
$(".data").find('input[name=DatabaseProvider]:checked').click();
|
||||
$(".data").find('input[name=DatabaseProvider]:checked').click();
|
||||
});
|
||||
})(jQuery);
|
Reference in New Issue
Block a user