Search:
Type: Posts; User: ziggyfish
Search :
Search took 0.01 seconds.
You would have noticed that the function I gave you allowed you to enter the checkbox element and the totalamount element as parameters. doing this allows you to have one function that does multiple...
a couple of ways you can do it.
If its a non-associative array you can use the list operator like:
list($a, $b, $c) = array('a', 'b', 'c');
With associative arrays, your best using the OO...
A word of advice, name your elements and functions with English readable names. Like for example:
should be:
function getTotalPrice(checkboxElement, priceElementID, amount){
var...
Hi,
In firefox, and chrome, I have a progress bar when someone uploads a file, however the same code doesn't work in IE (surprise surprise), it fails on:
var file = this.files[0];
My...