Take the 2-minute tour ×  I'm very new to javascript, so this is
confusing me. All of the settings charm tutorials only show how
to put the controls into the settings charm, but none of them
say how to find the information gotten in them. I tried to do
one of these (like I do in the main program):  var muteToggle =
document.GetElementById("Mute");  where "Mute" is the id in the
separate html file. muteToggle just ends up being null all of
the time. I tried putting it after
WinJS.UI.ProcessAll().then(function completed() {...  but that
didn't work either. Everything else is the same as in this page:
http://msdn.microsoft.com/en-
us/library/windows/apps/hh780611.aspx  share|improve this
question JavaScript is case sensitive, is it be an ID of "mute"
instead? –  Disco Banana Nov 29 '12 at 2:45 add comment  2
Answers  Make sure you're doing it in the ready function of the
js file that is referenced from your settings HTML. Try opening
the JavaScript console or QuickWatch while broken at that line
and also look at