User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 426,367 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,473 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

Help modify some JavaScript/HTML

Join Date: Aug 2005
Posts: 276
Reputation: J_Search is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 6
J_Search J_Search is offline Offline
Posting Whiz in Training

Re: Help modify some JavaScript/HTML

  #3  
Jun 19th, 2006
have you seen the yahoo 'launchcast' station music rating? it uses that crazy macromedia stuff to implement its ratings, but these days you can eliminate around 10% of your audience by using AJAX to do the same thing!

No, I haven’t seen launchcast ratings. But nonetheless, I know even less “macromedia stuff” aka flash, therefore that’s of no help. AJAX is also not a relevant alternative. There will be two items per page to vote for. I want the user to be able to do one of three things. Vote twice, vote once, or not at all. Hence the need for the “silly submit button”.

but all your code was in PHP... you should post the html output, then anyone can load it.
There are only 9 lines of php code. The majority of the code is in JavaScript, followed by HTML, then PHP. The output is 2 lines. I didn't think it was necessary to post the output, and I doubt anyone who has the ability to answer the question would disagree.

the simple answer is "YES" I am sure there is a way of doing what you ask.
As you finally realized the point of my post…if the answer is "yes" then how do I do it?

I'm only concerned about the JavaScript and of course the html form. I included the php, albeit small amount, because I wanted the reader to have a complete understanding of the script.

I want to thank you for your post. However, I’d rather be helped with my current situation (modifying the JavaScript; see the title of this thread "Help modify some JavaScript/HTML") rather than fielding submitted alternatives. Unless, of course, there is no way to perform the task I would like with the current method.
Last edited by J_Search : Jun 19th, 2006 at 8:23 am.
J_
Reply With Quote  
All times are GMT -4. The time now is 12:21 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC