keitai
1
I have created a flash menu with the following ajax links in Actionscript
getURL("javascript:makeRequest('content.php?category=help', 'textContent')");
But now i like to use jQuery, but how do i translate this in Actionscript
$.get("content.php", { category: "help"}, function(data){
$("div#textContent").html(data);
} );
keitai
2
ok i think this will work, but i bypass the $(document).ready part
<script type="text/javascript">
function gotoURL(cat) {
alert(cat);
//$(document).ready(function(cat){
// Your code here
$.get("content.php", { category: cat}, function(data){
$("div#textContent").html(data);
} );
//end code
//});
}
</script>