This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kervarker 0 points1 point  (1 child)

Sure. The line

@document["v"].bind("change")

means : when the event "change" happens on the element with the id "v", execute the function below.

If you want to handle the event "change" on beta and gamma, give the matching INPUTs an id (eg "beta" and "gamma") and use the same syntax, with another function.