Lost Password?

Go Back   CodeCall Programming Forum > Web Development Forum > AJAX

AJAX Web based language that allows asynchronous loading of pages that does not interfere with normal page loading.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-09-2008, 01:01 PM
Perro88 Perro88 is offline
Newbie
 
Join Date: Dec 2007
Posts: 8
Rep Power: 0
Perro88 is on a distinguished road
Default Need some AJAX help

I made a rating system. working ok but it's forms related.
something like if the member voted appear a reset rating button else a select form.
I have the tables moviesvotes with id of the member and movie id and vote as fields. and the table movies with id of the movie, number of votes and rating. I used the form values to recalculate the rating and n_votes everytime a vote was added or reseted the score.
can anyone help me convert this to some ajax rate system?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 01-10-2008, 07:08 AM
Lop's Avatar   
Lop Lop is offline
Speaks fluent binary
 
Join Date: May 2006
Posts: 1,135
Rep Power: 15
Lop is on a distinguished road
Default

I'm guessing you did the rating system in PHP? If so you just need a simple JavaScript portion to execute the PHP and retrieve the new values. Do you know AJAX at all?
__________________
Lop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-10-2008, 02:03 PM
Perro88 Perro88 is offline
Newbie
 
Join Date: Dec 2007
Posts: 8
Rep Power: 0
Perro88 is on a distinguished road
Default

Quote:
Originally Posted by Lop View Post
I'm guessing you did the rating system in PHP? If so you just need a simple JavaScript portion to execute the PHP and retrieve the new values. Do you know AJAX at all?
yes I made it in php. I'm a total noob at AJAX :P. just want to know if someone might give me some direction the sql queries and php logic I'll make it. wanted to show 10 stars(3 stars images, one empty, the one that will be show in the rating and the one show when someone hover to vote) well something to show for example the rating and if someone voted a reset button, else let vote hovering the stars number. Well this might be a little hard to do(I'm trying to addapt a code I found on the net but no luck till now). if this is too hard to make then just the version on php (a select if the user didn't voted or reset button) but in ajax.a question: it's possible to send values using ajax when the ajax is inside a <form> tag? thanks for the reply
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-10-2008, 02:06 PM
Perro88 Perro88 is offline
Newbie
 
Join Date: Dec 2007
Posts: 8
Rep Power: 0
Perro88 is on a distinguished road
Default

well the problem was solved, thanks

Last edited by Perro88; 02-14-2008 at 09:18 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-14-2008, 05:44 AM
fahlyn's Avatar   
fahlyn fahlyn is offline
Learning Programmer
 
Join Date: Nov 2007
Age: 24
Posts: 35
Rep Power: 3
fahlyn is on a distinguished road
Send a message via ICQ to fahlyn Send a message via AIM to fahlyn Send a message via MSN to fahlyn Send a message via Yahoo to fahlyn
Default

Quote:
Originally Posted by Perro88 View Post
in ajax.a question: it's possible to send values using ajax when the ajax is inside a <form> tag? thanks for the reply
what do you mean by this? Do you mean there is a link, or button or something inside <form> tags that you want to trigger an ajax event? Whatever you mean, any event that happens on the browser that you can detect using HTML events or JavaScript...can trigger an ajax call.
__________________
Visit My Google Group Here: Web Development Innovation
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
AJAX: Intro John Tutorials, Classes and Code 1 11-07-2007 08:52 PM
Considering Ajax, Part 1: Cut through the hype Ronin JavaScript and CSS 0 12-13-2006 02:36 PM
Myth-Busting AJAX (In)security Jordan AJAX 1 12-03-2006 01:21 PM
AJAX Evolved Jordan JavaScript and CSS 0 09-09-2006 01:12 PM
Anybody use Ajax? Dan JavaScript and CSS 9 07-05-2006 03:25 PM


All times are GMT -5. The time now is 11:13 PM.

Contest Stats

dargueta ........ 93.00000
John ........ 87.50000
Xav ........ 50.00000
MeTh0Dz ........ 20.00000
gaylo565 ........ 18.00000
Johnnyboy ........ 3.00000

Contest Rules

Ads