Hi, how do i actually retrieve data from a website when i write the URL in a textbox and then hit the submit button. I want the data to be put in an div that i have. Is this possible?
I have tried with this, but it doesn't work!
<script type="text/javascript">
function contentDisp()
{
var url = $("#text").val();
$("#contentArea").load(url);
}
</script>
<textarea id="text">Write URL here</textarea>
<br />
<input type="button" value="Click" onClick="contentDisp();">
<div id="contentArea"></div>