Jump to content

Cooley

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Cooley

  • Rank
    Newbie
  • Birthday 05/14/1991

Previous Fields

  • Languages
    HTML 5,JavaScript ,JQuery (UI, Mobile ),PHP,Java,C#

Profile Information

  • Location
    South Africa
  • Interests
    Anything that exercise my brain.
  1. Cooley

    jQuery GET method PHP

    On page 1 you will have to put your table inside a div. For example <div id="content">// Your table goes here</div> Then your JQuery will be $.get("http://mudsaf.info/games/index.php?pageid=2", function(responceData){$("#content").html(responceData);}); responceData will be the data you echo-ed in your php script after you have tested that $_GET['pageid'] is equal to 2. You PHP script will have to be on the the index.php page but you can put it in a different page and and then change the URL to point to that page. I hope this way of sending an AJAX request is much more easier to digest.
  2. To enhance it you can download JQuery UI, reference it and then put the following script onto your document $(document).tooltip(); . You can then use the title attribute as above.
  3. Hello all I would like to know how to register a click event in JQuery mobile. I had this fully working DOM based game which has a start button to start game play. All I did for it not work is add references to JQuery mobile CSS and Javascript, and the following data-role attributes: page,header,content, and footer. After that the start button register but all of the which suppose to run on page load works.
×
×
  • Create New...