codice:
<form action="" target="" title="" onsubmit="JavaScript: return controllo();" name="frmModulo" method="POST">
                	    <span class="clsLabelNome">Nome</span><span class="clsNome"><input type="text" name="txtNome"/></span>

            		    <span class="clsLabelProvincia">Provincia</span><span class="clsProvincia"><select name="slcProvincia" onchange="JavaScript: ricaricaComune();">
										  <option VALUE="">Scegliere provincia
                                                                                  <option VALUE="RM">Roma
										  <option VALUE="CR">Crotone
   									  </select></span>

                        <span class="clsLabelComune">Comune</span><iframe class="clsIFrameComune" src="comune.jsp" name="IFrmComune"></iframe>
			
            		    <input type="submit" name="submit"  class="clsInvio" value="invio"/> 
                	    <input type="reset"  name="reset"   class="cslReset" value="resetta"/>
			    	
           	</form>
Codice JavaScript:
codice:
                var sel=self.IFrmComune.document.frmModulo.slcComune;
                var val_sel=sel.options[sel.selectedIndex].value;
                 
                 alert(val_sel);
                 
                 if (val_sel == "" || val_sel == null)
                 {
                    alert("Scegliere Provincia");
                    sel.focus();
                    return false;
                 }
cosi non mi funziona mi dice:

Error: self.IFrmComune.document.frmModulo has no properties
Source File: http://localhost:8084/pippo/
Line: 69