ggbApplet.setValue() and ggbApplet.getValue()

"On Update" JavaScript of A, B and C
var g=ggbApplet;[br]var value=g.getValue("poly1");[br]g.setValue("p", value);[br]g.evalCommand("P=(p, 0)");

Information: ggbApplet.setValue() and ggbApplet.getValue()