css menu call a jquery function to call a php page

css menu call a jquery function to call a php page

Hello,

I have a jquery css menu. Now I want to call a function where I can fill a div with the php page.
  1. <script type="text/javascript">
            $(document).ready(function(){
            I want to call the next function 


  2.         $????????.(function(page){
                query = "section=home";
                $.get(page,query, function(data){
                    $("#div_content").html(data);
                });
            
              






And my menu:
  1. <li><a href="#" onclick="call_function(secretariaat.php)">Secretariaat</a></li>
    <li><a href="#" onclick="call_function(admin.php)">Admin/contributie</a></li>
    <li><a href="#" onclick="call_function(trainingen.php)">Trainingen</a></li>

  2. etc.
Is this possible or do I not understand jquery? And what has to filled in at the href, can I leave this so it is on this moment href="#" or.....

OR do I completely missed the turned off of the road and must this be done on a complete different way?

I hope that somebody can help me how I can solve this or help me with a good example.

Thanks in advance

Ok I have changed already something and it makes maybe more clear what I'm asking. But I'm not complete satisfied with this solution:

  1. $(".jqueryslidemenu a").click(function() {
    var page = $(this).attr("title");

    query = "section=home";
    $.get(page,query, function(data){
    $("#content_1").html(data);
    });
    });






  2. <div class="jqueryslidemenu" id="myslidemenu">
    <ul class="menu2">
    <li><a href="#" title="vereniging">Vereniging</a>
    <ul>
    <li><a href="#" title="php/retrieve_standen.php">Vereniging</a></li>
    <li><a href="# etc.




I'm not happy with this because if you hover over the menu, the user sees the title text (is normal) AND I think this is not the road, there must be a better solution!

Is this stupid question or... Because I thought that should be quiet simpe. I'm googling and I think that I always see a method of an element.
And until now I couldn't find a good example of a css menu such a example. Always
<li><a href="www.xxxxx
or
<li><a href="#">text</a>

But I thought it is better to use a more genereal function which is filling the content div.

I hope that someone can help or least give me a good advise/example

Thanks

Nico