Yay! Did SharePoint 2013 finally decide to be consistent with Lookups?

Body:

So, all of us client side developers were having a heck of a time dealing with setting and getting the value of lookup fields in SharePoint because the field changed from a “select” to an “input” when a lookup list had more than 20 items.  This blog should refresh your memory on that:

Setting SharePoint Lookup Lists w/ jQuery (+/- 20 items)

Luckily it looks like Microsoft decided to be consistent in SharePoint 2013 and it seems to always use a select (at least it’s still a select after 57 entries). So, if you want to read the value of a lookup in SharePoint 2013 you just need one line:

$("select[title='']").val();  
And to set a lookup using jQuery we just need one line:
$("select[title='']").val("");  
So, at least in one aspect our life got a little easier. Although I will caveat this:
  • SharePoint 2013 is still in “Preview” so they could change the functionality (although I’d doubt it at this point)
  • A lookup may still change to an input at some other magical number?
Just hedging my bets people… but so far I’m really digging SharePoint 2013. 
Published: 8/7/2012 8:20 PM
# Comments:
]]>

Families in Germany who are facing divers heartiness problem, such persons can buy drugs from the Web without prescription. With the market flooded with divers web-sites selling sundry medicaments, purchasing medicines from th WEB is no longer a trouble for common man. Certain medications are used to treat infections caused by dental abscesses. Of course it isn’t all. If you’re concerned about erectile health problem, you probably know about Xenical and Hoodia. Probably either adult knows about Garcinia. (Read more PhentermineXenical). The symptoms of sexual health problems in men include improbability to have an hard-on sufficient for sexual functioning. Certain medications may add to sex drive difficulties, so its substantial to cooperate with your health care professional so that the prescription can be tailored to your needs. Preparatory to taking Levitra or other cure, speak to your dispenser if you have any allergies. Talk to your soundness care provider for more details. Preparatory to ordering this remedy, tell your doc if you are allergic to anything.