Ive been searching for hours now but not found an answer to this one. What i want to do is when someone clicks a link, it changes the value in the select box.
So far i have come up with:
However that doesn't work. Any help would be appreciated, cheers.Code:<script type="javascript"> function changeSelect(x) { document.getElementById("type").value = x; } </script> <a href="javascript:changeSelect(1)">Link</a>



Reply With Quote

Bookmarks