السلام عليكم
اخواني اود ان اعدد خيار الجافا الاتي وقد قمت بالتالي ولكنه يعطيني إيرور دائماً هل من حل ؟
كود:<SCRIPT LANGUAGE="JavaScript"> <!-- Begin function formHandler(form){ var URL = document.form.site.options[document.form.site.selectedIndex].value; window.location.href = URL; } function formHandler(form1){ var URL = document.form1.site1.options[document.form1.site1.selectedIndex].value; window.location.href = URL; } function formHandler(form3){ var URL = document.form3.site3.options[document.form3.site3.selectedIndex].value; window.location.href = URL; } function formHandler(form4){ var URL = document.form4.site4.options[document.form4.site4.selectedIndex].value; window.location.href = URL; } function formHandler(form5){ var URL = document.form5.site5.options[document.form5.site5.selectedIndex].value; window.location.href = URL; } function formHandler(form6){ var URL = document.form6.site6.options[document.form6.site6.selectedIndex].value; window.location.href = URL; } function formHandler(form7){ var URL = document.form7.site7.options[document.form7.site7.selectedIndex].value; window.location.href = URL; } // End --> </SCRIPT>



