That is what I thought as well. My initial tests used the following code:
btnShowAllExamples.value = 'Hide All examples';
XDocument.UI.Alert(btnShowAllExamples.value);
Which resulted in an Object doesn't support this property or method error. If I just use the alert statement, it is blank
Here is the code I "want" I should be using based off of previous experience with javascript.
if (btnShowAllExamples.value == 'Show All Examples')
btnShowAllExamples.value = 'Hide All examples';
else
btnShowAllExamples.value = 'Show All Examples';
I can't be the first person who has wanted to do this.
I should clarify that I am using IP 2003. When you look at the button properties the "text" is stored in the "label property."
Also, I never thought I would say this but... Is there anyway to get intellisense to work in IP2k3?