Call Parent function from iframe then update iframe form value
===

I have a function in the parent page that needs to be called by an iframe, and this function then updates form value(s) in the iframe. I am able to call the function fine, but form value updating is not working

I setup an alert to see if the parent function could see the input values, but returned undefined, so i assume i am not accessing the ID's correctly

here's my code attempting to auto init today's date in fields split up into three text boxes

Main js function

     window.autoPartialDateBox = function(htmlID) {
	if ( !jQuery('#'+htmlID+"_mm").val() && !jQuery('#'+htmlID+"_dd").val() && !jQuery('#'+htmlID+"_yy").val() ) {
				var myDate = new Date();	
				jQuery('#'+htmlID+"_mm").val(myDate.getMonth()+1 ); 					 
				jQuery('#'+htmlID+"_dd").val(myDate.getDate() ); 
				jQuery('#'+htmlID+"_yy").val(myDate.getFullYear() );			   
	} }

iframe 

		<script type="text/javascript">	
	   $(function () {
			// this will populate the partial date box			
			   $("#someElement").live("change", function() {
				   if ($(this).val() == 'trigger') {
					window.top.autoPartialDateBox('partial_date_box');
				   }
				  				 
               });

			});
		</script>

    Action <select name="someElement" id="someElement" class="valid">
        <option value="" selected="">Select an option</option> 
		<option value="trigger">Trigger</option>			
    </select>

    Day <input name="stop_dd_2747_mm" type="text" id="stop_dd_2747_mm">
    Month <input name="stop_dd_2747_dd" type="text" id="stop_dd_2747_dd" >
    Year <input name="stop_dd_2747_yy" type="text" id="stop_dd_2747_yy" >


