title: FAQ layout: default permalink: "faq.html"
A: You can see the steps described here which are basically:
npm install -g amber-climkdir newProjectDircd newProjectDiramber initamber serveAnd visit http://localhost:4000
Here is also a terminal screencast doing just that:
Press this sequence of keys: Shift, Shift, Ctrl, Shift. A dialog should appear with "Legacy IDE" and "Helios IDE" buttons.
In case the above did not work, evaluate the following in the JavaScript console:
`require('amber/helpers').popupHelios()`
Smalltalk version.For the latest stable, go for
npm -g install amber-cli
If you want the latest prerelease, go for
npm -g install amber-cli@bleedingedge
Note that beleedingedge will not install the stable version even if it is newer.
If you want to be sure which version is latest and which one is bleedingedge use:
npm info amber-cli and you will find them in the dist-tags section.
npm install -g amber-cli will get it fixed for all new projects and
npm update amber-dev in every project dir will fix it for current projects
bower install in every project dir will fix it for current projects
If you have a field with an id of #field1, the way to get it's value is '#field1' asJQuery val.
Note: All JavaScript methods in jQuery are available to you this way.
Multi parameter functions are then mapped like:
aQuery.sampleFunc(a,b,c);
aQuery sampleFunc: a andThis: b andThat: c.
The andThis:andThat: part can be any selectors. The only thing that matters for JavaScript and Amber is the first part of the keyword selector which has to match the JavaScript function name.