views:

26

answers:

0

Hello, a website has 2 textareas and 2 submit-type buttons. Both textareas are simple text <input type=text name=to class="text" value="" maxlength=20>.

One button is send button <input type=submit name=s value="Send"> another is erase <input type=submit name=reset value="Erase" onclick="eras=1;"> .

Is it somehow possible to replace those 2 textareas with 2 UITextField and one UIButton which runs action Send?

I know how to fill those 2 fields, but I do not know how to programmatically press the button Send.

Actually I want to hook UIButton with <input type=submit name=s value="Send">

Thanks!