i got some small or big problem ,for now it's big :)
i got input form for price ,the price should go like this:
example 23.23.
i got auction site ,it works like that : if you input a bid price that some one else already bid then your bid is getting burnt ,example:
if i bid for 66.98 and you bid for 66.98 we both got burnt ,and if some one else is going to bid for 66.98 ,he will get burn too!
now my serius problem is:
if i bid for 66.98 and you will bid for 66.981 we are both well ,but in the database we both will have the same bid!!
how do i limit the input price after the dot?
there is maybe way in javascript maybe to check that there is only two numbers after the dot?
please help me with that!! ,im stuck!!
i did limit in the input form for maxlength and max size ,but it's not the way for me.