Help me with a simple Javascript code
$900-2700 JMD
Paguhet në dorëzim
I am building an asp.net membership loyalty web application with vb.net behind. On the page to calculate a member's maximum discount allowed based on available points, I want a javascript equation and code to do some conditional calculations based on the following rules
1) Member cannot get discount which is greater than his points.
2) I can set a percentage of the member's discount to use
3) No round trips for the page. All codes must be client side.
Here is the equation:
If Invoice total >= Current Point Then
Discount = Current Point
Else If Invoice Total < Current Points Then
Discount = Invoice Total
See I dont want to reload the page so I Choose Javascript but my code not working. If you can get AJAX to work without a round trip then fine. Maybe update panel with a server side procedure to calculate the form controls
Look at my asp.net page and screenshot for more details
ID Projekti: #6578127
Rreth projektit
Është zgjedhur fitues:
5 profesionistë freelancer dërguan një ofertë mesatare prej $2200 për këtë punë
Hi there, I would love to help you out with this! I see a few possibilities of why this may not be working! Get in touch with me if you would like for me to help you. Thanks, Doug
SpirIT Animations is a group of 10 professional experienced 2d Animation Traditional Animation Flash Animation web and graphic designer. We provide innovative and unique designs at a very reasonable price. We create Tr Më shumë