Ombir
Active Member
- Joined
- Oct 1, 2015
- Messages
- 433
Hi,
I want to click on button on a webpage which doesn't contains button tag. I think it is associated with javascript code execution. Below is the Html Code of complete webpage.
I am to able to find any way to click the button of class="logon-btn".
Any help is much appreciated.
I want to click on button on a webpage which doesn't contains button tag. I think it is associated with javascript code execution. Below is the Html Code of complete webpage.
HTML:
<!DOCTYPE html>
<html>
<head>
****** http-equiv="Content-Type" content="text/html; charset=utf-8" />
****** name="keywords" content="work, allocation, tool" />
****** name="description" content="Work Allocation Tool" />
****** http-equiv="X-UA-Compatible" content="IE=8" />
<title>Work Allocation Tool</title>
<link rel="stylesheet" href='css/style_agent.css' type="text/css" />
<link rel="stylesheet" href='css/jquery-ui.css' type="text/css"/>
</head>
****** class="login-bdy">
<div class="login-container-index">
<div class="login-container-inner" id="home_pg_container">
<div class="logon-btn"></div>
</div>
</div>
******** src="js/jquery.js" language="javascript" type="text/javascript">*********>
********>
$(document).ready(function() {
$(".logon-btn").click(function() {
var winWidth = screen.width;
var winHeight = screen.height - 154;
************("Login.htm","_blank","width=" + winWidth + " , height=" + winHeight + ", scrollbars=1, titlebar=1, status=1, menubar=1, top=0, resizable=1, left=0, location=1 ");
//************("Login.htm","_blank","toolbar=yes, scrollbars=yes, resizable=yes, top=0, left=0, menubar=yes, status=yes, titlebar=yes, fullscreen=yes");
$(".logon-btn").addClass('ui-disabled').attr("disabled","disabled");
})
})
*********>
</body>
</html>
I am to able to find any way to click the button of class="logon-btn".
Any help is much appreciated.