[Phpwm] [OT] Any ideas how to do this?

Phil Beynon phil at infolinkelectronics.co.uk
Thu May 25 18:01:08 BST 2006


This is a bit off topic in that it's client side Javascript, but its
something that needs to fit alongside and inline with a massively complex
PHP page!

I have two text boxes within a form and a radio button.
There is a ratio between the values of the starting values within the text
boxes, which is actually the aspect ratio of an image. The function of the
radio button is to say overide the aspect ratio.

If the radio button isn't set and one of the text box values is altered I
want the value of the second box to alter to the same (interger value)
ratio. If the radio button is set I dont want the value of the second box to
alter.

Regards,

Phil




More information about the Phpwm mailing list