Click here to Skip to main content
15,925,661 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: How can I collect news from differnt sites in one html page Pin
abo sohaib10-Nov-15 10:36
abo sohaib10-Nov-15 10:36 
QuestionImage does not display in Firefox Pin
ParthiR5-Nov-15 0:57
professionalParthiR5-Nov-15 0:57 
AnswerRe: Image does not display in Firefox Pin
Afzaal Ahmad Zeeshan9-Nov-15 20:39
professionalAfzaal Ahmad Zeeshan9-Nov-15 20:39 
GeneralRe: Image does not display in Firefox Pin
ParthiR11-Nov-15 19:10
professionalParthiR11-Nov-15 19:10 
Questionform question Pin
Member 1197204322-Oct-15 17:43
Member 1197204322-Oct-15 17:43 
AnswerRe: form question Pin
W Balboos, GHB27-Oct-15 8:16
W Balboos, GHB27-Oct-15 8:16 
GeneralRe: form question Pin
Member 1197204327-Oct-15 9:24
Member 1197204327-Oct-15 9:24 
PraiseRe: form question Pin
Richard Deeming28-Oct-15 3:34
mveRichard Deeming28-Oct-15 3:34 
GeneralRe: form question Pin
W Balboos, GHB28-Oct-15 4:05
W Balboos, GHB28-Oct-15 4:05 
GeneralRe: form question Pin
Richard Deeming28-Oct-15 4:07
mveRichard Deeming28-Oct-15 4:07 
AnswerRe: form question Pin
ZurdoDev11-Nov-15 2:22
professionalZurdoDev11-Nov-15 2:22 
RantJavascript , a devil spawn language. Pin
Armando de la Torre22-Oct-15 6:12
Armando de la Torre22-Oct-15 6:12 
SuggestionRe: Javascript , a devil spawn language. Pin
Shmuel Zang24-Oct-15 20:58
Shmuel Zang24-Oct-15 20:58 
GeneralRe: Javascript , a devil spawn language. Pin
Armando de la Torre28-Oct-15 10:52
Armando de la Torre28-Oct-15 10:52 
GeneralRe: Javascript , a devil spawn language. Pin
Jacobclay716-Nov-15 10:03
Jacobclay716-Nov-15 10:03 
GeneralRe: Javascript , a devil spawn language. Pin
W Balboos, GHB27-Oct-15 8:19
W Balboos, GHB27-Oct-15 8:19 
GeneralRe: Javascript , a devil spawn language. Pin
Armando de la Torre28-Oct-15 11:02
Armando de la Torre28-Oct-15 11:02 
AnswerRe: Javascript , a devil spawn language. Pin
ZurdoDev23-Nov-15 3:05
professionalZurdoDev23-Nov-15 3:05 
QuestionButton in the tree is not fired Pin
Member 785420721-Oct-15 18:34
Member 785420721-Oct-15 18:34 
AnswerRe: Button in the tree is not fired Pin
F-ES Sitecore21-Oct-15 23:35
professionalF-ES Sitecore21-Oct-15 23:35 
GeneralRe: Button in the tree is not fired Pin
Member 785420722-Oct-15 19:54
Member 785420722-Oct-15 19:54 
QuestionNeed js help! Pin
Member 1197204321-Oct-15 15:33
Member 1197204321-Oct-15 15:33 
Ok I'm just a beginner and have an assignment. We are doing an order form where you add up the product amounts and come up with total cost using parseFloat for decimals. I can get the product amounts in decimals and it adds up right in the total cost, but the total cost does not come up with decimals and I cannot figure out why. Here is my js function code:


function total_price(){
var a = parseFloat(document.order.sub1.value);
var b = parseFloat(document.order.sub2.value);
var c = parseFloat(document.order.sub3.value);
var d = parseFloat(document.order.sub4.value);
var e = parseFloat(document.order.sub5.value);
var f = parseFloat(document.order.sub6.value);
var total = a + b + c + d + e + f;
document.getElementById("total").value = total;
}

This is my input tag (it's inside td tag:
<input class="numbers" id="total" onclick="total_price()" name="total" size="7" />
AnswerRe: Need js help! Pin
Wombaticus22-Oct-15 0:42
Wombaticus22-Oct-15 0:42 
QuestionYouTube API - upload videos by search term Pin
Member 1207417120-Oct-15 9:49
Member 1207417120-Oct-15 9:49 
QuestionHow to control the do / while infinite loop? Pin
Ted.K-117-Oct-15 1:06
Ted.K-117-Oct-15 1:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.