I can set values to <h6> tags, but I need to set the value of a label. Particularly becasue I can't seem to acces the value of an <h6> tag in the aspx.vb code-behind on the aspx page.
So far I got the changing of <h6> values working by doing this:
Expand|Select|Wrap|Line Numbers
- function SellLots_DoFSCommand(command, args){
- if(args != "" && args != null)
- {
- document.getElementById("Selection").innerHTML = "Lot#" + command + " is currently " + args;
- document.getElementById("Status").innerHTML = args;
- document.getElementById("LotId").innerHTML = command;
- }
I've already tried the following and it doesn't set the value of the label "label2":
Expand|Select|Wrap|Line Numbers
- function SellLots_DoFSCommand(command, args){
- if(args != "" && args != null)
- {
- document.getElementById("Selection").innerHTML = "Lot#" + command + " is currently " + args;
- document.getElementById("Status").innerHTML = args;
- document.getElementById("LotId").innerHTML = command;
- document.getElementById("label2").innerText = "Hello!";
- }
I'd appreciate any help that anyone might be able to offer!