Because javascript is client side, it can't edit what is on the server. change radio buttons to submits that run a php script?