Last active
December 11, 2015 10:58
-
-
Save vgrem/4590153 to your computer and use it in GitHub Desktop.
Example 1. Setting TaxonomyWebTaggingControl control 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
//Example 1. Setting TaxonomyWebTaggingControl control value during event (page load, button click and etc.) | |
function initCountryTaggingControl() { | |
var countriesControlId = "ctl00_PlaceHolderMain_ctl03"; | |
var continentTermValue = "Africa|43f3b1e7-e40c-45d2-a613-88643668d373"; | |
setTaxonomyControlObjectValue(countriesControlId, continentTermValue); | |
} | |
ExecuteOrDelayUntilScriptLoaded(initCountryTaggingControl, 'ScriptForWebTaggingUI.js'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment