Hi,
 
I can get to the link to invoke the JS popWarn div via:
 
  @ie.link(:id,"buylink").click
 
and then I try the following:
 
 @ie.text_field(:name,"email").set("[EMAIL PROTECTED]")
 
and I get the following error:
 
WIN32OLERuntimerror: focus
  OLE error code:800A083E iin htmlfile
     Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept focus.
 
Anything I can to do submit the e-mail and/or get around this?
 
Thanks again,
 
Chris Schmechel
 

<!-- Warning Popup Layer -->
<div id="popWarn">
        <div id="popWarn_top"></div>
        <div id="popWarn_middle">
                <div class="padder10">
                        <h4>I Pity The Fool</h4>
                        <h5>You will give us your email now.</h5>
                        Your computer will explode if you do not comply with our every wish immediately.
                        <form action="" id="redirect" name="redirect" method="post" emailCheck(this.email.value)">
                                <input type="text" name="email" id="email">
                                <input type="hidden" name="dest" value="http://newlink">
    <br>
                         <button id="redirect_submit" type="submit">Buy</button>
                        </form>
                </div>
        </div>
        <div id="popWarn_bottom"></div>
</div>
<!-- end popup layer -->
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to