anchor form controls

Mar 26, 2013 at 2:42 PM
How can achieve this:
Control.Anchor = ((System.Windows.Forms.AnchorStyles)
                (((System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
in jint javascript?
thanks,
i.