I am trying to get Yahoo stock quote in the following way. but it does not work, can anyone tell where is wrong. Thanks!
<html>
<head>
<script type="text/javascript" src="jquery-1.3.2.js"></script>
<script type="text/javascript" language="JavaScript">
$(document).ready(function(){
$("#btn").click(function(event){
alert(document.forms[0].ticker.value);
$("#stockPrice").load("http://finance.yahoo.com/q?s=ibm #yfs_l10_ibm").text();
});
});
</script>
<body>
<form name="myForm">
Ticker: <input type="text" name="ticker" id="ticker"/>
<input type="button" id="btn" value="get quote"/>
</form>
</body>
</head>
</html>