# \[jQuery\] With flash menu how do i link?

**URL:** <https://forum.kirupa.com/t/jquery-with-flash-menu-how-do-i-link/263208>\
**Category:** Uncategorized\
**Created:** [June 13, 2008, 11:26am UTC](https://forum.kirupa.com/t/jquery-with-flash-menu-how-do-i-link/263208 "2008-06-13T11:26:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![keitai](https://avatars.discourse-cdn.com/v4/letter/k/73ab20/32.png) [@keitai](https://forum.kirupa.com/u/keitai)\
**Post date:** [June 13, 2008, 11:26am UTC](https://forum.kirupa.com/t/jquery-with-flash-menu-how-do-i-link/263208/1 "2008-06-13T11:26:50Z")

</div>

I have created a flash menu with the following ajax links in Actionscript

```auto

getURL("javascript:makeRequest('content.php?category=help', 'textContent')");

```

But now i like to use jQuery, but how do i translate this in Actionscript

```auto

$.get("content.php", { category: "help"}, function(data){
	$("div#textContent").html(data);
  } );

```

---

<div class="post-metadata">

**Author:** ![keitai](https://avatars.discourse-cdn.com/v4/letter/k/73ab20/32.png) [@keitai](https://forum.kirupa.com/u/keitai)\
**Post date:** [June 13, 2008, 12:02pm UTC](https://forum.kirupa.com/t/jquery-with-flash-menu-how-do-i-link/263208/2 "2008-06-13T12:02:53Z")

</div>

ok i think this will work, but i bypass the $(document).ready part

```auto

<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>

```
