I have a form that specifies the width and height of an image. I also have an option that says 'Maintain Aspect Ratio'.
If they click on that then the height and width boxes operate an onchange event so that when one is changed, it changes the other to keep the aspect ratio. Is there a way to update the other value if the user changes on then clicks submit since you have to click outside the box for the onchange to work.
If they click on that then the height and width boxes operate an onchange event so that when one is changed, it changes the other to keep the aspect ratio. Is there a way to update the other value if the user changes on then clicks submit since you have to click outside the box for the onchange to work.
Comment