Remove 'disabled' attribute

I have a dynamically created list that is generated using JSOM.
I would like to remove disabled from items that begin with 'faRow'.

See jsfiddle below.  My method is not working.

Thanks for your help.
IsaacSharePoint Client Side DeveloperAsked:
Who is Participating?
Chris StanyonCommented:
If you're adding this to your own page you'll need to add the jQuery library. Best-practice is to use a CDN. Add this to the <head> of your document:

<script src=""></script>

Open in new window

Chris StanyonCommented:
Your code works fine - you just haven't included the jQuery library in your fiddle.
IsaacSharePoint Client Side DeveloperAuthor Commented:
It works fine in jsfiddle but not in my actual code in my SharePoint site  where I do reference the jquery file.  I will still give you the points though b/c it did solve that problem.

I will post my whole code in another post.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Chris StanyonCommented:
I'm not familiar with Sharepoint, but you would need to add the <script> tags I posted earlier to the <head> element of your document. This will include the jQuery library.

Once you've got the jQuery library included, then you code should work. You mention that you're dynamically creating the list, so your code would need to run AFTER you've injected that list into your document.
IsaacSharePoint Client Side DeveloperAuthor Commented:
I did.
What I posted earlier is in the other post is in "priorityModule.js"

<html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">

<script src="/Webpart/JavaScript%20Library/js/jquery.js"></script>

<link rel="stylesheet" type="text/css" href="/Webpart/JavaScript%20Library/css/jquery.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="/Webpart/NRM/projectModule.css">
<script type="text/javascript" src="/Webpart/JavaScript%20Library/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/Webpart/JavaScript%20Library/js/jquery.SPServices-2014.02.js"></script>
<script type="text/javascript" src="/Webpart/NRM/priorityModule.js"></script>

<div id="divListItems"></div>

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.