/    Sign up×
Community /Pin to ProfileBookmark

Javascript rate or reviewing

On such shopping sites, you get these “Review these products now” or “Rate this product”. Download.com is a good example.

Is there anyway I can do that in Javascript?

If not, is there anyway I can do it all?

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@David_HarrisonApr 08.2004 — The user selects a rating, the information is sent to the server where it is stored, then the new rating appears on the page.

This requires the use of a server-side language to process the information. Client-side JavaScript only executes on the user's browser.

Therefore there is no way to do this with client-side JavaScript. There are a whole host of languages you can do this sort of things with but the two most common ones are PHP and ASP.
Copy linkTweet thisAlerts:
@TechnodreamerauthorApr 10.2004 — PHP seems to come up so often. I'm goingto learn PHP.
Copy linkTweet thisAlerts:
@David_HarrisonApr 10.2004 — A wise choice.
Copy linkTweet thisAlerts:
@steelersfan88Apr 10.2004 — [i]Originally posted by lavalamp[/i]

[b]A wise choice.[/b][/quote]
couldn't agree more ?
×

Success!

Help @Technodreamer spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...