Get the text of a Dropdown’s Selected Item Using jQuery

by Bill Beckelman 5. April 2010 08:03
I always have to look this one up for some reason, so I thought I would put it here to make that easier: $("#Dropdown option:selected").text(); I initially found the answer on this Stackoverflow post.

Tags:

jQuery

Custom ASP.NET MVC Authorization Attribute For Ajax Requests

by Bill Beckelman 1. April 2010 14:34
One issue that I have had for a while that I think I finally solved was what to do with unauthorized jQuery Ajax requests in my ASP.NET MVC application. I finally wrote a custom authorization attribute to take care of the situation. I ran into two issues while constructing the attribute; the first ... [More]

About Me

I live and work in Salt Lake City, Utah. My background is in aviation. I have a degree in Aeronautical Science from Embry-Riddle Aeronautical University in Prescott, AZ. I have worked as a commercial airline pilot and most recently as a technical advisor for a charter airline.