|
|
Member Since: Jul 12, 2008
Posts: 2
|

08-22-2008, 06:19 AM
I'm fairly new to Javascript. I've spend a good few hour studying Javascript, reading the Dascode manual, and peering over the sample code provided with Dashcode and simply cannot work out how to initiate a change of view in a stackLayout.
I basically want a button that will change from one view to another when clicked.
I've inserted a 'stacklayout' in the 'content' area and a button.
I've tried:
Onclick: document.getElementById("view1")
But that is clearly wrong.
What is the correct way?
Thanks in advance,
Matt
|
|
|
QUOTE
Thanks
|