Saturday, 24 August 2013

Objective C - Login to java enabled website with username & password

Objective C - Login to java enabled website with username & password

I am new to iPhone development/Objective C but I have good programming
experience in C/C++. This is my first app in my learning.
My question is that I need to login to a website which shows the HTML code
like below. I am sure this is the part that handle the login. Because I
use this website for login testing, unfortunately, it is not possible to
give the URL here.
</div>
</div>
<script type="text/javascript">
$(function () {
$('#txtLoginID").watermark('login email');
$('#txtPwd").watermark('password);
$('.BtLogin').click(function () { $('.alert.error.server').hide();
});
});
</script>
Can someone explain how I should the basic Objective C code to login to
this website with username & password?
I think we can use method "stringByEvaluatingJavaScriptFromString" but I
am having trouble getting this login.
Can someone help me here?'
Regards,
Mathew

No comments:

Post a Comment