I start learning jquery and have the following code to getting the data from my database, it is corrected display what I want from the database in the 'div tag' below
<script type="text/javascript">
// function to get data from the database
function getData()
{
$('#num').hide();
$.post('getData.php',{rev: form.select.value},
function(output){
$('#num').html(output).fadeIn(700);
});
}
</script>
....
<div id="num"></div>
.......
The jquery html method displays as a string (e.g: 1 2 3). Now I want to save the contents of jquery html method into an array so I can access it for future data usage, is there any way to establish that ? Thanks for your helps !!!