how do I create an array in jquery?
Posted
by vick
on Stack Overflow
See other posts from Stack Overflow
or by vick
Published on 2010-04-16T02:50:08Z
Indexed on
2010/04/16
2:53 UTC
Read the original article
Hit count: 295
jQuery
<script type="text/javascript">
$(document).ready(function() {
$("a").click(function() {
$("#results").load( "jquery-routing.php", { pageNo: $(this).text(), sortBy: $("#sortBy").val()} );
return false;
});
});
</script>
how do I create an array in jquery and use that array instead of "{ pageNo: $(this).text(), sortBy: $("#sortBy").val()}"
© Stack Overflow or respective owner