|
Did you take a look at the formatDollar function? It's pretty obvious that it cannot work if you name the parameter "value" in the head, but the function tries to work on a variable named "num". It just doesn't fit. There might be more wrong, but I didn't look further into it as this is the first mistake. Once you fixed this, please use the console to check what error you are getting – maybe you can fix it yourself.
Also, when you post source code, please use the [ code ] tags to that it looks better and is readable.
Last edited by Airblader; 02-03-2013 at 03:21 AM..
|