I have a table:
CREATE TABLE `kursnavn` (
`id` int(5) NOT NULL auto_increment,
`lagid` int(5) NOT NULL default '0',
`kursnavn` varchar(255) NOT NULL default '',
`autorisasjon` int(2) NOT NULL default '0',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=44 ;
The content of this table is presented in a drop-down list in a form. Where <option value={ID}>{kursnavn}</option>
is there anyway to get {autorisasjon} copied to another field in this form?
I guess javascript is the way to go, but i don't know much of this.
Hope anyone out there can help.