TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sea Sun
NA
10
4.1k
Showing result of in, esle statement in box
Mar 14 2015 2:32 PM
How do I show the answer to this in a box??
function multiply()
{
if(total < 10000)
{
commission = total * 0.001;
}
else
{
commission = total* 0.0008;
}
if (commission<5) commission =5;
var total_commission =commission + total;
document.getElementById("commission").value = total_commission;
}
Reply
Answers (
2
)
Getting result in box from a function with conditions
how to disable number of copies option when print.using js