Click here to Skip to main content
15,888,521 members
Home / Discussions / Web Development
   

Web Development

 
QuestionCall to standard Web browser Pin
Behzad Saffarian28-Feb-10 1:05
Behzad Saffarian28-Feb-10 1:05 
AnswerRe: Call to standard Web browser Pin
Not Active28-Feb-10 1:57
mentorNot Active28-Feb-10 1:57 
AnswerRe: Call to standard Web browser Pin
The Man from U.N.C.L.E.2-Mar-10 7:24
The Man from U.N.C.L.E.2-Mar-10 7:24 
AnswerRe: Call to standard Web browser Pin
T M Gray3-Mar-10 11:21
T M Gray3-Mar-10 11:21 
Questionjavascript calculation total not working Pin
esebagel25-Feb-10 10:54
esebagel25-Feb-10 10:54 
AnswerRe: javascript calculation total not working Pin
Jason Vetter25-Feb-10 11:24
Jason Vetter25-Feb-10 11:24 
GeneralRe: javascript calculation total not working Pin
esebagel25-Feb-10 13:11
esebagel25-Feb-10 13:11 
AnswerRe: javascript calculation total not working [modified] Pin
daveyerwin25-Feb-10 13:52
daveyerwin25-Feb-10 13:52 
<pre>function totalamountdue() {
var inputs = document.getElementsByTagName("INPUT");
var runningTotal = 0;
for (i = 0; i &amp;lt; inputs.length; i++) {
if (inputs[i].id == "total") {
inputs[i].value = runningTotal / 100;
var a = inputs[i].value.split(".");
if (!a[1]) {inputs[i].value += ".00"}
else if (a[1].indexOf("0") != 0 &amp;amp;&amp;amp; a[1] &amp;lt; 10) { inputs[i].value += "0" }
}
if (inputs[i].id.indexOf("Amount") == 0) {
if (/^[1-9][0-9]{0,2}(,[0-9]{3})*(\.[0-9]{2})?$/.test(inputs[i].value)) {
runningTotal += +inputs[i].value * 100;
} else {
if (inputs[i].value == "THIS IS A BAD VALUE") { inputs[i].value = ""; }
if (inputs[i].value) { inputs[i].value = "THIS IS A BAD VALUE"; }
}
}

}
} &lt;&gt;</pre>


-- Modified Friday, February 26, 2010 1:35 AM
GeneralRe: javascript calculation total not working Pin
esebagel25-Feb-10 15:45
esebagel25-Feb-10 15:45 
GeneralRe: javascript calculation total not working Pin
daveyerwin25-Feb-10 16:03
daveyerwin25-Feb-10 16:03 
GeneralRe: javascript calculation total not working Pin
daveyerwin25-Feb-10 20:22
daveyerwin25-Feb-10 20:22 
AnswerRe: javascript calculation total not working Pin
Boro_Bob1-Mar-10 23:08
Boro_Bob1-Mar-10 23:08 
GeneralRe: javascript calculation total not working Pin
esebagel2-Mar-10 2:17
esebagel2-Mar-10 2:17 
GeneralRe: javascript calculation total not working Pin
Boro_Bob2-Mar-10 5:52
Boro_Bob2-Mar-10 5:52 
QuestionLock up a browser on purpose. Pin
ItIsFinished25-Feb-10 8:20
ItIsFinished25-Feb-10 8:20 
QuestionLocalization Problem in ASP Pin
jyoti_aggarwal25-Feb-10 6:13
jyoti_aggarwal25-Feb-10 6:13 
AnswerRe: Localization Problem in ASP Pin
Daniel Vaughan25-Feb-10 7:29
Daniel Vaughan25-Feb-10 7:29 
QuestionLOGON_USER Server variable in IIS7 Pin
dreamaway82024-Feb-10 9:57
dreamaway82024-Feb-10 9:57 
QuestionLoosing session variables Pin
Hannes Smit23-Feb-10 23:15
Hannes Smit23-Feb-10 23:15 
QuestionGoogle ChromeFrame and .net web browser controller wrapping IE C#.net Pin
faheemnadeem22-Feb-10 22:16
faheemnadeem22-Feb-10 22:16 
QuestionBackground image problem in Office Outlook Pin
Majid Shahabfar22-Feb-10 19:32
Majid Shahabfar22-Feb-10 19:32 
Answerrepost Pin
Not Active22-Feb-10 20:59
mentorNot Active22-Feb-10 20:59 
QuestionHow to use Numbered Lists inside HTML tables Pin
Marc Hankin22-Feb-10 15:38
Marc Hankin22-Feb-10 15:38 
AnswerRe: How to use Numbered Lists inside HTML tables Pin
Not Active22-Feb-10 20:56
mentorNot Active22-Feb-10 20:56 
GeneralI need the Numbered Lists to work across cells inside HTML tables Pin
Marc Hankin23-Feb-10 9:44
Marc Hankin23-Feb-10 9:44 

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.