Tagged Questions
1
vote
1answer
35 views
Saving jquery calculated sums and sending to php
I have here a jQuery calculator script that allows me to calculate the values (of a specific css class) for input boxes in each row.
I have 8 rows total, with plans to allow users to dynamically add ...
0
votes
1answer
23 views
Datepickers With Multifunction
I managed to get this to run but only up-to a point. What I'm trying to do is the following:
There are 2 datepickers and one text field.
Once date1 is selected, will then auto-generate date2 with a ...
0
votes
3answers
64 views
jQuery random count with no number repeat until end of loop
I've been trying hard at this. A jQuery counter function that counts from 0 to 6 continuously in random but no repeat of a number until end of the loop i.e. until the count of the 7th digit in the ...
0
votes
4answers
106 views
Javascript increment a value
I have tried and failed trying to get this to work so time to ask the experts.
I've got the following HTML:
<input type="button" value="-" class="minus">
<input type="number" value="20" ...
-1
votes
2answers
80 views
How can i include in a javascript more than one input?
I am trying to do more than one javascript math function , i put two inputs , the first makes the own calculate and the result of the first , be part of the second calculate .
For example:
HTML
...
0
votes
3answers
42 views
javascript or jquery to extract integer out of html markup
I'm trying to extract the second integer from inside the below markup.
<div class="orbit-slide-number">
<span>1</span>
of
<span>3</span>
</div>
If I ...
0
votes
2answers
30 views
Keeping image ratio for its height using jQuery
Hey all i am trying to automatically get the height for an image. I can not seem to find any jQuery to do this?
What i am looking to do is something like it does in photoshop:
If the image was:
...
0
votes
1answer
54 views
Disallow numbers divided not equally in jquery
There is table of records, where columns are 12 month + summary.
I have simple jQuery action which onChange of summary row divide number equaly for each month.
Because it's accounting stuff I round ...
2
votes
5answers
145 views
Assign javascript variables using html select options
Thanks a lot guys for the all the help - really appreciate it.
However, what I want to do next is really complicated and I am certain you guys have the brains to help me.
This is the more complex ...
-2
votes
1answer
84 views
Doing javascript calculations using select dropdown options? [closed]
Is it possible to do calculations based on selected options?
Here is my code:
<input type="text" id="resultBox" readonly="true" />
<select id="select1">
<option ...
1
vote
1answer
43 views
Doing calculations using javascript with select options? [closed]
Somebody please help me with some javascript coding. I am building a website using asp.net where there are multiple html select elements and their selected option determines what the value of an input ...
0
votes
1answer
51 views
jQMath - Elementary math Sum line equivalent in MathML
I know that general lower math is not supported in jqMath, and so I’ve created a small work around using css and jQuery which adds a border to the bottom of a table cell. This works fine in Chrome, ...
0
votes
3answers
28 views
JQuery: Operations on output value, but still keeping it printing as user types
In my HTML I have this:
<input type="text" name="earned" id="earned">
<p>You have: $<span id="amount"></span></p>
And in my Javascript file I have this:
...
0
votes
4answers
60 views
Select characters separately
I need to select only day, month and year (separately) and then calculate days until due. Why is this not functioning correctly? Am I using the substr correctly?
http://jsfiddle.net/infatti/XeqPT/15/
...
-1
votes
1answer
40 views
addition of numbers in existing div box
How would I go about adding a sum to an existing number on a page?
Would it be better to just use a .empty() and then doing the sum via jQuery and setting it again in .html()?
Example
<div ...