$('button').addClass('disabled'); // Disables visually
$('button').prop('disabled', true); // Disables visually + functionally

$('input[type=button]').addClass('disabled'); // Disables visually $('input[type=button]').prop('disabled', true); // Disables visually + functionally

$('a').addClass('disabled'); // Disables visually
$('a').prop('disabled', true); // Does nothing 
$('a').attr('disabled', 'disabled'); // Disables visually


 var mySecureToken = FnMakeRequestCall("","POST","Basic RlN4S2RrZEpNN3VaYWhHN0NFcEtlaTZEa3RzYTpXbmUxd29seHp2UTNSQ2RZbXhUUTJ2WkJTd0Fh","application/x-www-form-urlencoded; charset=UTF-8",""application/json; charset=utf-8","grant_type=password&username=pcsadmin&password=pcsadmin");


//var VarBasicAuthCode = util.FnCreateBasicAuthentication(VARSKYSPARKUSERNAME,VARSKYSPARKPASSWORD);
var VarBasicAuthCode = session.get('authToken');
xhr = new XMLHttpRequest();
xhr.open(METHOD, URL);
xhr.setRequestHeader("Authorization" , VarBasicAuthCode);
xhr.setRequestHeader("Content-Type", CONTENTTYPE);
xhr.setRequestHeader("Accept", ACCEPTTYPE);
var VarResponse = xhr.responseText;
return VarResponse;

A common jQuery coding practice
 var $this = $(this);

 There are a few benefits: 

  1.  $(this) is only evaluated once (minor efficiency) 
  2. You can use a more descriptive name for $(this). I’m using var $MyCurrentBook = $(this); 
  3. By preceding the variable name with the $ sign, you’re reminding yourself that it’s a jQuery variable, not just a plain old JavaScript variable.
With fuel costs rising and airlines finding more fees to impose on travelers every day, airfare isn’t getting any cheaper. Since you can’t drive to all your dream destinations, flying is the only way to go sometimes and, undeniably, the fastest. Luckily, there are plenty of ways to find the most affordable fares and also avoid paying as many extra charges as possible when you plan ahead.

Getting the best fare

Airlines put out their fare sales on Tuesday morning, making this day the best day to book a flight for less.


Fly during the least popular times. Tuesday, Wednesday and Saturday are the slowest days to fly, which means cheaper deals than the rest of the week. You can also find reduced rates on early morning flights, since many people don’t like to get up before the sun to get to the airport. Earlier boarding times can also considerably cut down your chances of getting bumped on an overbooked flight or delayed because of other delayed flights or mechanical issues.


Choose your seat later. Some airlines charge you to pick your seat when you book online, adding even more to the bottom line of your ticket cost. If you show up early on your travel day, you can still get suitable seats. Some of the best seats get held back until flight day, unless others are willing to pay extra for them ahead of time, so you still have the chance at one of those.


Fly on holidays. You already know that summer is the most expensive time to fly, and even though most other times are more affordable, the days surrounding holidays can be crazy. Save big if you’re willing to travel on major holidays, such as Thanksgiving and Christmas.


Don’t wait until the last-minute to book. Many travelers don’t know that there’s a sweet spot for booking and getting the best price on your tickets. Book too early or too late and you could end up paying more than you need to. The best time to book is between three months and six weeks from when you want to travel.

Avoiding extra fees

Airlines will charge for just about anything these days. Some have even toyed around with charging customers for using the restroom. All those extra fees can certainly add up, but there’s no reason to pay them if you don’t have to. Here are some tips to keep money in your wallet once you get to the airport.


Avoid the upgrade it's not necessary. Sometimes upgrades are free, but mostly you will be charged for seeking a last-minute bump to first class, and the cost can be hefty.


Fly carry-on only. Baggage fees vary wildly, but almost all airlines charge them and charge big. Why pay for your clothes to fly with you? If everyone in your travel party checks a bag, your bill can be astronomical before you ever even get to your destination. It’s easy to reduce the amount of stuff you pack: Make sure all your clothing coordinates, so you can take less and still make more outfit combinations, take only two pair of shoes, plan to do a bit of laundry on your trip and bring only travel-sized toiletries.


Pack your own snacks. Unless you’re flying internationally, it’s rare your flight comes with a free meal. Snacks on the plane are not cheap and almost never healthy. Don’t rely on what’s on the small menu and instead tuck some of your own snacks – granola bars, homemade muffins, fruit and trail mix all make fantastic travel foods – into your bag and eat a lot better, and cheaper, than other passengers.
Do you have a tried and true method of getting the best deal on your flights? Let us know. 
paper plane iconBon voyage...
Here is the beginning of my post. .risk-issue-search select { border: 0 !important; /*Removes border*/ width: 83%; /*font-family: 'SegoeUILight'; font-family: 'SegoeUISemibold'; */ font-size: 13px; color: #565a5c; /*background-color:#e6e6e6;*/ background: #e6e6e6 url("../images/select-downarrow.png") no-repeat center left 96.5% ; padding-right:18px !important; -webkit-appearance: none; /* Removes default chrome and safari style*/ -webkit-appearance: menulist-button; -moz-appearance: none ; /* Removes Default Firefox style*/ text-indent: 0.01px; /* Removes default arrow from firefox*/ -o-appearance:none; text-overflow: ""; text-transform: capitalize; padding: 3px 0 3px 8px; font-weight:600; font-weight: normal; /*font-variant:normal; font-size-adjust:none;*/ background-color: #E6E6E6; }

iPad not rendering png background image Issue:

I fixed them  by re-saving the images for web as
1. being at least 10px wide
2. saving them as non-interlaced PNGs

This immediately fixed my problems.

To Turns out you have to clear a cache in the local app storage.


From there just delete all the files or just the ones that correspond to your SharePoint site. Then restart SPD

Here is the beginning of my post. And here is the rest of it.
There is a way to filter Safari 5+ from chrome JS Bin

Prepared by carthworks. Powered by Blogger.