Home > SharePoint, SharePoint 2010, SP2010 > How do I: Set the ID attribute of a table row using jQuery and SharePoint Designer

How do I: Set the ID attribute of a table row using jQuery and SharePoint Designer

While customizing an “add new item” form, you might find yourself needing to manipulate form elements via jQuery. However, before you can do that you must and an #id or .class to the elements in question. I will be adding an #id in this demonstration. But why would I want to manipulate form elements in the first place? If you wanted to hide/show a textbox based on the user selection of a checkbox you could use this technique.

Get the code

Related videos:
  1. No comments yet.
  1. No trackbacks yet.

Leave a comment

Design a site like this with WordPress.com
Get started