>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title> - jsFiddle demo</title>
<script type='text/javascript' src='http://code.jquery.com/jquery-1.8.3.js'></script>
<style type='text/css'>
</style>
<script type='text/javascript'>
$(function(){
function sortDropDownListByText() {
// Loop for each select element on the page.
$("select").each(function() {
// Keep track of the selected option.
var selectedValue = $(this).val();
// Sort all the options by text. I could easily sort these by val.
$(this).html($("option", $(this)).sort(function(a, b) {
return a.text == b.text ? 0 : a.text < b.text ? -1 : 1
}));
// Select one option.
$(this).val(selectedValue);
});
}
sortDropDownListByText();
});>
</script>
</head>
<body>
<select id="select_zone">
<option value ="north">a</option>
<option value ="east" >c</option>
<option value ="south">d</option>
<option value ="west">b</option>
</select>
</body>
</html>
SSL How to create / import and configure self signed ssl certificate for IIS 8 in win 2012 Refer : http://www.youtube.com/watch?v=BYwOMuBDhPU http://www.entrust.net/knowledge-base/technote.cfm?tn=8713 1. Go to IIS 2. Select servername(TOP) 3. Middle area iis---->server certificate-->double click-->right side chosse & click created self certificate-->Specify a friendly name---> choose certificate type & click OK 4. Select site and right side BINDINGS--->Add-->Choose type https--->enter hostname and choose SSL cerificate---> ...
Comments
Post a Comment