maintain

Maintain hover state (jQuery)

HTML: <ul class="dropdown"> <li><a href="#">Item 1</a></li> <li> <a href="#">Item 2</a> <div class="submenu">something</div> </li> </ul> jQuery: $j("ul.dropdown li").hover(function () { $j(this).addClass("hover"); $j('div.submenu', this).css('visibility', 'visible'); }, function () ...

Asp.Net MVC 2: What's the standard way to keep selected values in forms?

Say you have a few DropDownLists that filter data: Car Make: [Ford,Chevrolet,etc] Car Year: [2010, 2009, 2008, etc] Car Model: [LT, SLT, etc] And you make a selection and not show that DDL again. Is there any standard place to maintain previously selected values? This is for a "drill down" menu system. ...