VapiSoft
asked on
Javascript - intracting with another page.
Hi,
Can I lanch a page (window.open) that is not mine (I cannot change it) and then
interact (get data or write to <input>) with controls in it?
Can I lanch a page (window.open) that is not mine (I cannot change it) and then
interact (get data or write to <input>) with controls in it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I forgot to add the code.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>JS Bar Graph</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$.ajax({
url: "https://www.misim.gov.il/svInfoNadlan/index.html",
context: document.body,
success: function(){
$('#input1').val('values'); // input1 that gets the value 'values'
}
});
});
</script>
</head>
<body>
<div id="input1"></div>
</body>
</html>
ASKER
How do I do that?
This is good enouh for me if I can do it bacsuse What I need is to automate a test their.