I need to send "M6" value to this http://ift.tt/1tt5hwF webpage using python. I have some problem to do that because the website submit the vlaue using javascripts.
This is the html source for the input:
<div id="info">
<input type="text" id="company" name="com" size="20">
<input type="button" value="Send Now" onClick="getData();"></div>
<div class="clearfix"></div>
</div>
and the js code is:
function getData()
{
var Send = document.getElementById("company").value;
$.ajax({
type: "POST",
url: "../votes/comments.php?id=97775547",
data: "com="+Send,
beforeSend: function() {
$("div#info").html("<img src='../loading.gif'>loding...");
},
success: function(result)
{
$("div#info").html(result);
}
});
}
Please if someone can help me with this.
Thank you.
Aucun commentaire:
Enregistrer un commentaire