link_to() for JS???
Posted: Thu Mar 24, 2011 7:41 am
how can i achieve this please?
i have:
thank you
i have:
Code: Select all
function getChoice(val)
{
yesNo = new Array("Yes", "No");
var getsel = document.contactus.yesnolist.value;
var e = document.getElementById("yesnolist");
var strUser = e.options[e.selectedIndex].value;
if (strUser == "no")
{
//go the the faq page here??????
}
return strUser;
}