Irish SEO,  Marketing & Webmaster Discussion

 

Java Script Help

This is a discussion on Java Script Help within the Coding Help forums, part of the Webmaster Help category; Looking for a quick bit of java script, have searched the internet but cant find anything that will do the ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Coding Help

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16-03-2007, 11:21 PM
Frontpage User
 
Join Date: Mar 2007
Posts: 7
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
daryllsheridan will become famous soon enough
Default Java Script Help

Looking for a quick bit of java script, have searched the internet but cant find anything that will do the job

Home Page

Its a page for making books available for sale (college project so no major concern) When a seller picks a price for a book they have to donate a minimum of 10% of the price to charity, so im looking to use the contrib % to automatically set the amount they donate to charity. For eg if a buyer picks a price of 50 euro and then chooses 10% from the drop down box, then the amount box would automatically fill with 5 euro

Reckon Javascript would do the job but havent a clue how to do it

Regards
Daryll
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 17-03-2007, 12:31 AM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,048
Nominated 5 Times in 3 Posts
Nominated TOTW/F/M Award(s): 1
louie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enough
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

you could do that with php or asp as well.
Have the select menu set using javascript to submit to the same page, set session and calculate the total again adding the new value.

<SELECT NAME="donate_amount" onchange="form_name_or_id.submit()">
__________________
:. Web Design & Development Web Design Ireland
:. Search Engines Optimization Search Engines Optimization
:. Directory Submission Directory Submission
:. News & Press Release Ireland GiveItSocks.com
:. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories
:. I Have 2 Find It Directory SEF Directory

Last edited by louie; 17-03-2007 at 12:33 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
java, script

Thread Tools
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
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Script Installation, Server Administration bizhat Marketplace Offers 2 10-03-2008 12:29 PM
Survey Script suggestions/recommendations ? paul Webmaster Discussion 2 08-02-2007 01:32 PM
script help.... concatenation? 7aken Coding Help 1 06-02-2007 01:06 PM
Episode Guide Script Ronan O'F Coding Help 4 05-01-2007 10:23 AM
Script for Amazon.fr? blacknight Amazon 0 06-08-2006 02:46 AM


Sponsored links

Paid On Results


All times are GMT +1. The time now is 04:38 AM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0