16.07.2013, 09:19
= means assign a value
== means to check if equal
Change the = to ==.
As for the second error, you need to add another sting to the end - if you want only one button, pass a blank string (two quotes: "").
== means to check if equal
Change the = to ==.
As for the second error, you need to add another sting to the end - if you want only one button, pass a blank string (two quotes: "").