Not what I know but i shouldn't be empty.
pris is ex. 340,50:-
and pris2 should then be 340.50 when i tried with the variables
inside.

I want pris to be the same and when you press the link the $
('#productPrices').html(); get 25% smaller and when you press again it
get it original value back.
when I but both var in the function it get 25% smaller for every click

On 19 Mar, 11:26, Steven Yang <kenshin...@gmail.com> wrote:
> did you get an error if no value was given?
> because it seems like your parsing an empty string into an int
>
> and it looks like your value after the first calculation will always be the
> original value.
> because you never set pris except when the page loaded

Reply via email to