在JQuery中,如果我想在选择其值后更改下拉选项的字体颜色,它应该如下所示:
$(this).find('option:selected').css('color', '#a1c3d2');
但是我想在角度js 1.X
中做同样的事情谢谢。
答案 0 :(得分:0)
答案 1 :(得分:0)
System.Exception: Exception of type 'System.Exception' was thrown.
at WebApplication50.Controllers.ValuesController.Get()
at lambda_method(Closure , Object , Object[] )
at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext()