Hi all I'm not much cop at JavaScript ( thought i do thinlk it's pretty cool) now how can i display the value of an item the code bellow sort of works
Any help would be greatCode:<SCRIPT LANGUAGE="JavaScript"> <!-- function submitform_List() { alert("TEST!!!"); document.choiceForm.MyAccount.length++; alert(document.choiceForm.MyAccount.length); alert(document.choiceForm.MyAccount[0].text); document.choiceForm.MyAccount[1].text="BombDrop"; //I can not display the value i have added to the new option??? document.choiceForm.MyAccount[1].value="123"; alert(document.choiceForm.MyAccount.value); //document.choiceForm.submit(); } </script>
![]()
![]()
![]()




Reply With Quote