Tag Archives: Javascript

Tags and Identifiers for getTagFromIdentifierAndTitle Function

To find a control in SharePoint from client side Javascript we normally use the¬†getTagFromIdentifierAndTitle function. The function implementation is as below function getTagFromIdentifierAndTitle(tagName, identifier, title) { var len = identifier.length; var tags = document.getElementsByTagName(tagName); for (var i = 0; i … Continue reading

Posted in Misc | Tagged , , , , | 6 Comments

SharePoint 2010 Validation using Javascript

Hi, Recently I had to do a custom validation for a Task Edit form based on task the user is performing. For example, if user chooses to Reject the proposal he needs to enter remarks else the remarks are not … Continue reading

Posted in Misc | Tagged , , , , | 4 Comments

SharePoint 2010 Filtering Lookup column using JavaScript

Scenario SharePoint 2010 custom list (or a library) with a lookup column and we need to filter the values based on some criteria. This applies to cascading drop-down lists where the target drop-down is a look-up column. A classic example … Continue reading

Posted in Misc | Tagged , , | 1 Comment