I would try something like this but it isn't allowed.
function GetDynamicModulesProperties() {
var selectedValue = $("#moduletype option:selected").val();
if (selectedValue.lenght() > 0) {
var url = '<%= Url.Action("GetModuleProperties", new { sectionid = ViewData.Model.Id, moduleTypeId = selectedValue } ) %>';
var renderContainer = $("#modulesettings");
$.get(url, function(data) {
renderContainer.html(data);
renderContainer.fadeIn('slow');
});
}
}
is there a an way to do this?
Thanx in advance