title: FAQ layout: default permalink: "faq.html"
A: You can see the steps described here which are basically:
npm install -g amber-cli
mkdir newProjectDir
cd newProjectDir
amber init
amber serve
And 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
.'Latest' often means the 'latest stable'. If this is the case go for
npm -g install amber-cli
If you mean really the prereleases,
npm -g install amber-cli@bleedingedge
should install the last prerelease (but not the stable version even if it is newer).
Use npm info amber-cli
to find out which version is latest and which one is bleedingedge, if you are unsure.
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
Assuming I have a field with an id of #field1, how do I get the text value of it?
Answer:
'#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 and: b and: c.
The and:
can be whatever. The only thing that matters is the first part of the keyword selector which has to match the function name.
On the wiki