redirect with radio button
Posted: Wed Sep 07, 2005 9:10 pm
Hey!
Is there anyway I can redirect a user to a certain page when he clicks on the radio button without clicking a submit button in php?
I managed to do it with javascript. In php would be the best.
My javascript code:
Is there anyway I can redirect a user to a certain page when he clicks on the radio button without clicking a submit button in php?
I managed to do it with javascript. In php would be the best.
My javascript code:
Code: Select all
function modifycontact() {
location = "contactlist_mod_admin.php?cid="+document.contactlistform.modify.value;
}