Click here to Skip to main content
15,916,842 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: javascript Pin
Shraddha_Patel5-Nov-19 17:30
Shraddha_Patel5-Nov-19 17:30 
QuestionAdding Blank pages to PDF when requirements met Pin
Member 142140864-Apr-19 15:03
Member 142140864-Apr-19 15:03 
QuestionRe: Adding Blank pages to PDF when requirements met Pin
Richard MacCutchan4-Apr-19 17:57
mveRichard MacCutchan4-Apr-19 17:57 
AnswerRe: Adding Blank pages to PDF when requirements met Pin
Member 142140864-Apr-19 18:07
Member 142140864-Apr-19 18:07 
GeneralRe: Adding Blank pages to PDF when requirements met Pin
Richard MacCutchan5-Apr-19 5:10
mveRichard MacCutchan5-Apr-19 5:10 
Questionprint array json in dinamic table <html> Pin
serenimus29-Mar-19 11:15
serenimus29-Mar-19 11:15 
AnswerRe: print array json in dinamic table <html> Pin
Richard MacCutchan29-Mar-19 22:29
mveRichard MacCutchan29-Mar-19 22:29 
GeneralRe: print array json in dinamic table <html> Pin
serenimus29-Mar-19 22:50
serenimus29-Mar-19 22:50 
GeneralRe: print array json in dinamic table <html> Pin
Richard MacCutchan29-Mar-19 23:28
mveRichard MacCutchan29-Mar-19 23:28 
GeneralRe: print array json in dinamic table <html> Pin
serenimus30-Mar-19 8:27
serenimus30-Mar-19 8:27 
GeneralRe: print array json in dinamic table <html> Pin
Richard MacCutchan30-Mar-19 21:22
mveRichard MacCutchan30-Mar-19 21:22 
GeneralRe: print array json in dinamic table <html> Pin
serenimus2-Apr-19 8:02
serenimus2-Apr-19 8:02 
GeneralRe: print array json in dinamic table <html> Pin
Richard MacCutchan3-Apr-19 4:47
mveRichard MacCutchan3-Apr-19 4:47 
QuestionChanging a font color Breaks my script??? Pin
Member 1420217628-Mar-19 9:04
Member 1420217628-Mar-19 9:04 
Every time I try to change the color for the text "You qualify for Free Shipping!
the script breaks.
can someone please write it in for me to show me where it goes?
Im trying to turn it Green

thank you
DEX

<br><script>
var freeship = 65;
var total = "[CARTTOTAL]";
var totalnum = total.replace("$", "");
if (totalnum < freeship){
rounded = Math.round((freeship - totalnum)*100)/100;
document.write(" <div align=left><h1><strong><span class=price-alt>Only $");
document.write(rounded.toFixed(2) + " ");
document.write("more and you qualify for Free Shipping! </span></div><br>");
} else { document.write("<div align=left><h1><strong> You qualify for Free Shipping! </strong></h1></div><br>");
}
</script>
AnswerRe: Changing a font color Breaks my script??? Pin
Richard MacCutchan28-Mar-19 22:42
mveRichard MacCutchan28-Mar-19 22:42 
AnswerRe: Changing a font color Breaks my script??? Pin
Richard MacCutchan29-Mar-19 5:56
mveRichard MacCutchan29-Mar-19 5:56 
QuestionJavascripts documentation engine and API Pin
Yurii_Right26-Mar-19 2:55
Yurii_Right26-Mar-19 2:55 
QuestionRegular Expression for min of 4 and max 40 characters in TypeScript Pin
simpledeveloper12-Mar-19 7:39
simpledeveloper12-Mar-19 7:39 
AnswerRe: Regular Expression for min of 4 characters in TypeScript Pin
Richard MacCutchan12-Mar-19 7:54
mveRichard MacCutchan12-Mar-19 7:54 
GeneralRe: Regular Expression for min of 4 characters in TypeScript Pin
simpledeveloper12-Mar-19 8:22
simpledeveloper12-Mar-19 8:22 
GeneralRe: Regular Expression for min of 4 characters in TypeScript Pin
Richard MacCutchan12-Mar-19 8:38
mveRichard MacCutchan12-Mar-19 8:38 
GeneralRe: Regular Expression for min of 4 characters in TypeScript Pin
simpledeveloper12-Mar-19 8:49
simpledeveloper12-Mar-19 8:49 
GeneralRe: Regular Expression for min of 4 characters in TypeScript Pin
Richard MacCutchan12-Mar-19 9:51
mveRichard MacCutchan12-Mar-19 9:51 
GeneralRe: Regular Expression for min of 4 characters in TypeScript Pin
simpledeveloper13-Mar-19 6:29
simpledeveloper13-Mar-19 6:29 
GeneralRe: Regular Expression for min of 4 characters in TypeScript Pin
Richard MacCutchan13-Mar-19 6:38
mveRichard MacCutchan13-Mar-19 6:38 

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.