Jump to content

Search the Community

Showing results for tags 'ajax'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome
    • Announcements & News
    • New Arrivals
  • Web Development
    • Programming
    • Database Development
    • Server Administration
    • Hosting & Domains
    • Frameworks
  • Web Design
    • HTML & CSS
    • Graphics & Multimedia
  • Desktop Discussion
    • Linux Development
    • Windows Development
    • Mac/Apple Development
    • Hardware Discussion
  • Marketing & Business
    • Advertising, Marketing, Monetization & Social Media
    • Search Engine Optimization & Traffic Building
    • Buy, Sell or Trade
  • Prodjex Web Development Applications, Tools and Plugins
    • IP.Board Applications and Plugins
    • Web Tools
  • The Developer Dump
    • General Chat

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 5 results

  1. I'll keep it short. Trying to learn AJAX. Can't find tutorials. Help.
  2. Looking for a little help with my first AJAX call I've tried. It keeps telling me the function "mark complete" is not defined but I see it as though it is. My jQuery at top of page: <!--Task jQuery/Ajax Call--> <script> $(document).ready(function markcomplete(taskid,projectid) { $.ajax({ url : 'scripts/submit.php?taskid='+taskid+'&projectid'+projectid+'submittype=7', // give complete url here type : 'post'; }); }); </script> My html/php: echo '<li class="open"> <img onClick="markcomplete('.$projectid.','.$tasks['id'].')" src="images/ico-redx.png" style="margin-left:8px;margin-right:20px;"/>'. $tasks['task_name'].' </li>';
  3. I have the following jquery/ajax: <!--Task jQuery/Ajax Call--> <script> function markcomplete(taskid,projectid) { $.ajax({ url : 'submit.php', // give complete url here type : 'post', data : { taskid : taskid, projectid : projectid, submittype : 7}, success: function (data) { // returns from server on success console.log(data); $('#task'+taskid).addClass('closed').removeClass('open'); }, failure: function (error) { // returns here on error console.log(data); } }); } function marknotcomplete(taskid,projectid) { $.ajax({ url : 'submit.php', // give complete url here type : 'post', data : { taskid : taskid, projectid : projectid, submittype : 8}, success: function (data) { // returns from server on success console.log(data); $('#task'+taskid).addClass('open').removeClass('closed'); }, failure: function (error) { // returns here on error console.log(data); } }); } </script> It works with the php/html: <li id="task'.$tasks['id'].'" class="open" onClick="markcomplete('.$tasks['id'].','.$projectid.')"> <span style="margin-left:40px;"/>'. $tasks['task_name'].'</span> </li> and <li id="task'.$tasks['id'].'" class="closed" onClick="marknotcomplete('.$tasks['id'].','.$projectid.')"> <span style="margin-left:40px;"/>'. $tasks['task_name'].'</span> </li> How on success of the ajax can I just change the onClick event function from marknotcomplete to markcomplete and vise versa?
  4. I'm not sure what to call what I'm trying to do so hard to run a Google search on it. I have a spot where I want to assign team members to a project. There is an input box where I can type their names. As I start typing their name I would like it to query the users table and show possible results, then I can click their name and they are added, then I can start typing another persons name and add multiple people.
  5. I'm trying to find a good tutorial on how to create a spot on my website that will pull in data from a mysql table and auto update without reloading the page. Something very similar to the funtionality of Facebook's News Feed. I can't seem to find anything. Anyone know of any good tutorial on how to accomplish this in PHP?
×
×
  • Create New...