I have a combo box with a list of options. I would like to have the last selection "Choose More..." as a link. It will load a page to provide more options when user select it. All other options will remain as normal selection.
Thanks!
<script language="javascript">
function popupMore(){
if (document.f1.myCombo.value=="more"){
window.open("balb blab...)
//or do something else
}
}
</script>
You can simulate a link thru your dropdown using kendel's suggestion. All you have to do is change his window.open to window.location = 'someNewPage.html'
What I am trying to do is load page to another frame which is similar you generate a pop up page. I actually have some JavaScript code to do this. But somehow it has problem when I select other options such as Yellow, Green. See code below.
<code>
function select1_onchange() {
if(form.select1[searchform.select1.selectedIndex]..value = "
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.