Created
January 22, 2013 22:18
-
-
Save vgrem/4599119 to your computer and use it in GitHub Desktop.
Get Taxonomy ControlObject value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Get Taxonomy ControlObject value | |
//webTaggingId - TaxonomyWebTaggingControl ID | |
function getTaxonomyControlObjectValue(webTaggingId) { | |
var webTaggingCtl = $get(webTaggingId); | |
var taxCtlObj = new Microsoft.SharePoint.Taxonomy.ControlObject(webTaggingCtl); | |
var termValue = taxCtlObj.getRawText(); | |
return termValue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment