Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

jimmymustang

Members
  • Joined

  • Last visited

  1. Hey Wynn! I had to change a few things but I got it to WORK!!! Now I'd like to ask another question. If I left the code the original way and the customer chose from the different options then the total would appear in the box. Now they chose from the dropdown option to add the percentage. Can that total(the one from the original total box + the percentage) appear in a separate box? So that they can see both totals and compare?
  2. Okay, So I'm having trouble. Where exactly do I add the above into this: <html> <body> <div id ="calculator"> <p>Option 1 <select class="option"> <option value="0"> 0 </option> <option value="10"> 1 </option> <option value="20"> 2 </option> <option value="30"> 3 </option> <option value="40"> 4 </option> <option value="50"> 5 </option> </select></p> <p>Option 2 <select class="option"> <option value="0"> 0 </option> <option value="10"> 1 </option> <option value="20"> 2 </option> <option value="30"> 3 </option> <option value="40"> 4 </option> <option value="50"> 5 </option> </select></p> <p>Option 3 <input type="text" class="option" > </p> <p>Option 4 <input type="text" class="option" > <p>Option 5 (+ 25) <input type="checkbox" value="25" class="chk-option" /> </p> <p>Option 6 (+ 50) <input type="checkbox" value="50" class="chk-option" /> </p> <p>Option 7 (+ 75) <input type="checkbox" value="75" class="chk-option" /> </p> <p>Total: <span id="total"> 0 </span></p> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script> $('#calculator input[type=text]').val(0); // Reset checkboxes $('#calculator input').prop('checked',false) // text and select $('#calculator select').prop('selectedIndex',0); // on reload, delete if not needed $(function() { $('#calculator input , #calculator select').on('change', function() { var total = 0; $('.option , .chk-option:checked').each(function(){ total += parseInt(eval($(this).val())); }); $('#total').text(total); }); }); </script> </body> </html>
  3. Hey Wynn, I have a question for you on this topic. Is it possible that there could be a dropdown menu that once an option is selected, it could increase the total by a certain percentage? For example: Option A no increase Option B 5% increase Option C 10% increase Option D 20% increase Thanks for your infinite wisdom! Jimmy
  4. Here is a link to what helped me: http://www.webdesignerforum.co.uk/topic/69247-i-need-help-i-need-a-simple-calculator-for-my-website/
  5. NEVERMIND! I finally figured it out!!!
  6. Here's the one I've been trying to use: http://jqueryui.com/datepicker/ If I copy and paste the following into a blank document in dreamweaver it works fine. the minute I add it into the page I'm working on, Nothing. I have left off the <head> tags and the <body> tags and put the script into the corresponding places but still, it wont work? <!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <title>jQuery UI Datepicker - Default functionality</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css" /> <script> $(function() { $( "#datepicker" ).datepicker(); }); </script> </head> <body> <p>Date: <input type="text" id="datepicker" /></p> </body> </html>
  7. It seems to be what I'm looking for but I haven't got a clue as to how to make it work!
  8. Can anybody tell me the best way to add a Date Time Picker to my form? I'm using dreamweaver cs6. THANKS!
  9. I was originally trying to get in touch with you! It was your post that I found in a google search that led me to this forum. I wasn't able to contact anyone directly at first because of the "25 Posts" rule but all the nice folks here have been extremely helpful. I'm working on a "estimate form" for my wife's website, I hope you wont mind if I hit you up for info soon.
  10. So i've begun creating an estimate form for my wife's website. Many thanks again to those who have helped. Now here's my next question, what is the best way to make it so that that once the customer fills in all the info they can hit a "submit" button and all the info from the form gets delivered to her email? Thanks in advance, Jimmy
  11.    Wynn reacted to a post in a topic: Thank You WDF members!
  12. Thanks to WDF members Lyndsey, CSN-UK and Wynn the page I was struggling with will be up and running in no time! Deepest Gratitude!
  13. Hey Wynn! I just got home and plugged this into dreamweaver, I can't begin to thank you for all you're help! It WORKS!!!!!!!!!!!!!!!!!! Thank you, Thank you, Thank you!!!
  14.    Lyndsey reacted to a post in a topic: Thank You WDF members!
  15.    teodora reacted to a post in a topic: Thank You WDF members!
  16.    Jo 90 reacted to a post in a topic: Thank You WDF members!
  17. I just want to say thanks to everybody on WDF!!! Everyone here has been so nice and helpful with all of my newbie questions! Jimmy
  18. I just found it and made a post! Thanks Wynn!!!!!! Can you help me with the checkboxes? P L E A S E
  19. Okay, Sorry for all the posts, I'm learning. I've been staring at the html so long I can't see straight. So problem solved on the drop downs. Thanks to CSN-UK and Wynn!!! I had <option value="0"> 0 </option> set with no "0" in it so all drop down had to be selected to get a total. Now on to adding more check boxes. Can you PLEASE help with that also?!?!?!?!

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.