You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adam McArthur edited this page Jan 25, 2015
·
4 revisions
If at some point you've added some parameters to your Instance Model, you can retrieve them at any time. Perhaps you might want to use them to show the person's name in a thank you message? Yeah that sounds cool, let's do that...
varContactForm=newInstance();
.get( attribute );
varname=ContactForm.get("name");alert("Thanks, "+name+". Your message has been sent!");
You can also get all of the attributes associated with the Instance by leaving out the arguments from the .get() method: