Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

onclick() in php with ajax

AJAX ajax

  • Please log in to reply
1 reply to this topic

#1 hazrizal84


    CC Lurker

  • Just Joined
  • Pip
  • 2 posts

Posted 11 December 2011 - 04:36 PM

hi guys.. i hope you can help me to solve my ajax problem cos i'm too new in ajax...
in my input.php, user has to enter some data and it will be passed to process.php

in process.php, after doing several quiries in mysql, the data will be sorted in table with several rows. each row will have a column containing a 'update' button. the button will be used to update the data with the same row.

what i wanna do is, when user click the 'update' button, it will triger update.php to do some quiries to update the row (using ajax). and at the same time, ajax loading image will be shown beside the update button. after the update process completed, the table will show the latest result (without refreshing the page).

i hope you can understand well my situation and plzz help me..
  • 0

#2 oldhendra


    CC Resident

  • Advanced Member
  • PipPipPipPip
  • 52 posts
  • Location:jakarta, indonesia
  • Programming Language:JavaScript, Pascal, Others
  • Learning:C, PHP, Others

Posted 14 December 2011 - 02:43 AM

Just drop a line your attempts and we'll see ;)
  • 0

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download