Hello Mechanizers,
I am using Mechanize 2.5.1 and am trying to interact with some non-form
input (it''s probably an event driven ajax submission). I want to add
some input into the textarea with the id of ''comment'' and
click the
button with the id of ''button''. Try as I might, I simply
can''t get a
handle on the elements. The HTML looks like this:
<form id="form" action="/doiiiiit"
method="post">
<!-- *true* form elements omitted -->
<div class=''nested_div''>
<p id="its-huge">
<textarea id="comment"></textarea>
<button id="button">Add</button>
</p>
</div>
<!-- more *true* form elements omitted -->
</form>
I can, of course, get the form object but selection of the non-form
elements is escaping me.
Any ideas?
Many thanks,
Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/mechanize-users/attachments/20120926/b95b4ba6/attachment.html>