Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged sharepoint



« Prev 1 Next »
  1. FAV

    sharepoint absolute site collection URL javascript variable

    Works in SP2013 (and I believe 2010). Provides site collection URL without trailing "/"
    JavaScript 5 views posted 6 years ago by rumremix
  2. FAV

    How to retrieve data from a list in Sharepoint 2013 using oData and JavaScript

    The following code fetches contents of each Title field from the list called "LandingMiddleLinks"
    JavaScript 10 views posted 6 years ago by rumremix
  3. FAV

    get hover effect of global nav parent link to roll off at same time dropdown goes away in out of the box sharepoint global nav

    The class, "activeDDParent", needs css that will cause the parent to have the same hover effect it has when the mouse hovers over it. This class allows for the out-of-the-box sharepoint rollof delay. "portalnavwrapper" is just the class of a div I ha...
    JavaScript 10 views posted 7 years ago by rumremix
  4. FAV

    get Current SPSite

    without trailing slash
    JavaScript 2 views posted 7 years ago by Hirsel
  5. FAV

    Better Print for SharePoint Page

    .zz1_logoLinkId_1 { color: #fff; background-image:url("/_layouts/Images/HLLMRKLINK/Logo.gif"); background-repeat:no-repeat; background-position:15px 10px; background-color:#67507e; display:block; width: 170px; height: 88px; overflo...
    JavaScript 3 views posted 8 years ago by nickaranz
  6. FAV

    SharePoint Quick Modal Dialog

    JavaScript 5 views posted 8 years ago by nickaranz
  7. FAV

    Getting Query String Parameters from URL

    JavaScript 2 views posted 8 years ago by nickaranz
  8. FAV

    change the default search box text in SharePoint 2010 using JQuery

    Use whatever is needed to select the input box. $('#searchBoxOuter td.ms-sbcell input') reflects some custom master page html I have so I used that.
    JavaScript 3 views posted 8 years ago by rumremix
  9. FAV

    Extending SharePoint modal window

    JavaScript 1 views posted 8 years ago by rumremix
  10. FAV

    SharePoint - Ocultar sincronización con Outlook

    JavaScript 0 views posted 9 years ago by dcastella
  11. FAV

    Sharepoint: limit the results in caml query

    First option uses a parameter in <a href="http://snipplr.com/view/46534/reading-and-writing-list-data-in-sharepoint-2010-using-spservices/">spservices method</a> to limit the results to four. Second option limits the results returned to six in the c...
    JavaScript 3 views posted 9 years ago by rumremix
  12. FAV

    sharepoint root url

    JavaScript 1 views posted 9 years ago by rumremix
  13. FAV

    SHAREPOINT 2010 READ FROM LIST USING ECMASCRIPT

    This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery. If needing to perform this process more than once on a page, make sure namedListItem variable is unique for each case (...
    JavaScript 2 views posted 9 years ago by rumremix
  14. FAV

    sharepoint 2010 write to list using ecmascript

    This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery.
    JavaScript 2 views posted 9 years ago by rumremix
  15. FAV

    Sharepoint Ajax List Data populater Example

    JavaScript 3 views posted 9 years ago by rumremix
  16. FAV

    sharepoint javascript date formatter

    converts date/time that sharepoint kicks out to m/d/y format.
    JavaScript 3 views posted 9 years ago by rumremix
  17. FAV

    redirecting a sharepoint new form

    <input> When used instead of my SharePoint: SaveButton above, the form saved it's data correctly, and the current page that the form was submitted from was reloaded for the user. You could also put any URL in the __redirect={} that yo...
    JavaScript 1 views posted 9 years ago by rumremix
  18. FAV

    Setting values of SharePoint Lookup field

    this snippet allows you to dynamically set the value of a SharePoint lookup field based on a URL parameter
    JavaScript 4 views posted 9 years ago by digiteyes
« Prev 1 Next »