Home > list > ListNav plugin and sharepoint list not working for me

ListNav plugin and sharepoint list not working for me

August 26Hits:1
Advertisement

Im trying to use this plugin to filter through an employee list but until i hard code the HTML its doesnt match any entries :( Im using ajax to write out the data to suit the html and im sure my output is fine. But when i load the page its all showing zeros and no matches :(

<script src="http://code.jquery.com/jquery-1.11.0.min.js" type="text/javascript"></script> <script src="http:///sites/dev/SiteAssets/ListNav/jquery-listnav.js" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="http:///sites/dev/SiteAssets/ListNav/demo.css"/> <link rel="stylesheet" type="text/css" href="http:///sites/dev/SiteAssets/ListNav/listnav.css"/>   <script type="text/javascript">  // begin work to call across network var requestUri = "http://dev-melsp01:1655/sites/dev/_api/Web/Lists/getByTitle('Contact')/items?$select=FirstName,Title"; // execute AJAX request $.ajax({ url: requestUri, type: "GET", headers: { "ACCEPT": "application/json;odata=verbose" }, success: function(data){ //alert(data.d.FullName); var newRows = ""; for (var i = 0; i < data.d.results.length; i++) {                  newRows +="<li>";         newRows +="<a href='#'>" + data.d.results[i].FirstName + "</a>";         newRows +="</li>";   }   $("#demoSix").prepend(newRows); //Working and can print out the html fine alert(newRows);  }, error: function(){ alert("Failed to get customer"); }   });   </script>  <script type="text/javascript"> $(document ).ready(function() { $('#demoSix').listnav({      }); });  </script>  //appending data to the UL element <ul id='demoSix' class='demo'></ul> 
Tags:jquery, list

Related Articles

  • ListNav plugin and sharepoint list not working for meAugust 26

    Im trying to use this plugin to filter through an employee list but until i hard code the HTML its doesnt match any entries :( Im using ajax to write out the data to suit the html and im sure my output is fine. But when i load the page its all showin

  • Group chat room software / plugin for SharePointMarch 10

    I am trying to find a campfire-like plugin for SharePoint. We use SharePoint as part of our TFS installation. Everyone logs in with their AD, it all links in nicely to Visual Studio and everything's great. But one thing we are missing is a chat room

  • Office 365: Authenticating from Dynamics CRM Plugin to SharepointSeptember 30

    I am trying to authenticate to Sharepoint 2013 from a Dynamics CRM 2013 plugin, all within a single Office 365 environment. I am ultimately trying to copy an email attachment from Dynamics CRM to Sharepoint (Post Email Attachment Create Async). So fa

  • 9 Crazy jQuery Chat and Chat Box Plugins

    9 Crazy jQuery Chat and Chat Box PluginsNovember 2

    Who would like to have a chat box integrated in their website like we see on Facebook and Gmail? If you own a website and you are in need of this type of feature then you are in the right place ;) In this post, we have collected 9 jQuery Chat and Cha

  • Will code created with 32 Bit SharePoint Designer 2013 be readable to another computer with the 64 Bit version of SPD 2013?May 2

    One of the developers on my team is installing SharePoint Designer 2013 on a machine with 32 Bit office. He attempted to install the 64 bit version and this error appeared: Got we can't install the 64-bit version of office because we found the follow

  • SharePoint Rich Text Editor Control Using JavascriptNovember 19

    I have to create sharepoint rich text editor control using javascript. How can I create? At the run time it will be decided how many control I have to display because of that I can not use static control. --------------Solutions------------- You don'

  • SharePoint 2010 Preloader

    SharePoint 2010 PreloaderJanuary 20

    I'm wondering if there is any possible way to add a pre-loader like jQuery plugin to SharePoint. Not like when the page is fully loaded, show a loading gif. But something similar to SharePoint dialog box when you want to add a new item and you click

  • How to back up SharePoint in conjunction with SQL Server databases?August 21

    We currently back up all SQL Server databases (SharePoint and non-SharePoint) with SQL Server's native backup. We also back up every server daily with a "snapshot backup" VMDK through Symantec NetBackup. I need to add an additional process to ba

  • 10 Snazzy jQuery Navigations

    10 Snazzy jQuery NavigationsMay 14

    Navigation menus have really important role in any website. If you want to create navigation menus that really stands out of the crowd jQuery could be the right choice to choose offering bunch of customizable options. That's why we present to you 10

  • Loading jQuery in the Correct order

    Loading jQuery in the Correct orderJanuary 26

    I wish to use a jQuery plugin in SharePoint. Currentley I have jQuery added to each page via a custom master page. <script src="/Style Library/js/jquery-1.6.4.min.js" type="text/javascript"></script> This can be found in th

  • how to auto populate fields based on users selectionMarch 14

    I have a form with several fields. I'm trying to auto populate the fields based on the users selection in the first field. So, kinda of like the cascading look up fields (country, state, city) but with more fields. Any advice on how to tackle this? -

  • Why to use MS Office 2010 32 bit in SP 2010 Farm on 64 bit Windows Servers?May 25

    When I first tried to install Sharepoint Designer 2010, I initially downloaded its 64 bit version But upon lanuching the install of SharePoint.exe, I've gotten: Setup Error You cannot install the 64-bit version of Office 2010 because you have 32-bit

  • addEventListener compatibility issue in IE

    addEventListener compatibility issue in IEOctober 22

    I am trying to using this plugin in sharepoint 2010. http://tympanus.net/codrops/2013/07/30/google-nexus-website-menu/ But in IE 8 and older versions, its give me some 'addEventListener' and "queryselector' compatibility issue. how can I fix this? I

  • SharePoint Source control plugin for VS?March 7

    Yes, it might sound like a strange thing to ask for. We're a team of 3-4 person working on a sln that is only developed using the Client Object Model. So we rather have no deployment, just a bunch of js files. But we've not found a good way of workin

  • using slidorion plugin slider in sharepointJune 22

    Im using this jquery plugin slider in Sharepoint.When i hardcode the html inside a script editor or CEWP it works well. But when i load the html dynamically from a list. It doesnt work and render properly. I have added all the references etc..Im 100

  • Safari SharePoint Plugin not working

    Safari SharePoint Plugin not workingDecember 11

    I have a strange problem with SharePoint and Safari. With 10.9 I was able to click on a file in a SharePoint site and it was opened in the corresponding Office application. After the upgrade to 10.10 the feature disappeared. With 10.11.0 it began to

  • SharePoint list as data source for jQuery DataTables pluginJune 23

    I trying to create a table using a SharePoint list as source. I followed this tutorial and it worked perfectly. But this method would not work if you need to reload the data using, let's say a drop down list. This is what I have tried so far: JS: the

  • Jquery plugin to show videos from video library in sharepoint 2010July 29

    I have video library where more than 10 videos have been uploaded. I want to show video list on my page and let user select video to play from that list. any jquery pulgin.? i got some plugin but those were for only youtube videos

  • Is there a SharePoint plugin/tool like this?January 30

    I am fairly new to SharePoint. This is for a design-build construction company. Currently our design team and office staff create/update files on a network drive. Once they are ready they have to upload them to SharePoint for the field staff and exte

  • Using REST call and Datatables plugin to retrieve SharePoint Date fieldApril 24

    I'm having an issue with a REST call that's giving me some headaches. This is the code I'm using: function LoadAIP(state) { var call = $.ajax({ url: "https://xxxx/xxxx/_vti_bin/listdata.svc/AIPList? $select=ROCode,AIP,NotificationDate&$filter=(RO

Copyright (C) 2018 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.521 s.