I'm not quite sure how it would be irritating. I mean its not like everything you click on opens a new window. If this is one of the few occasions then it should be fine.
i didn't mean to be rude. I just reread what I put and it sounded bad but I was reading it and you said something about
>> one day i buy for 3.5 and the site charges me 4 dollars, another day i buy for 2.5 it charges me 2!!!
I just don't understand the reasoning behind that
I think vbkris is a lil confused on his math. From everything I've learned in school, I've never EVER heard anyone say you round from the far right. The one thing I paid attention to in school was math class. When you round 399.5 it becomes 400 but if u try to round 399.499... it becomes 399...
Actually I think you can place script anywhere in the page. I could be wrong but try placing everything you have in the header right before the </body> tag.
Hmm.... indeed. I think that since peiEmail was never declared (or atleast not in this function) it might not exist. If it was declared make sure that if its an array you use .charAt(i) or i guess u could use a multi dimensional array [i][j]. Could you specify on what peiEmail is?
I'm not quiet sure on the reasoning behind it. See I'm used to using C++ programming and there we use stringname[i] but i was reading the book about javascript and it said to change the value of a single character you should use .charAt(i). and i made a mistake on writing that it should have...
one thing I noticed recently was that a book i was reading says to use
peiEmail.charAt[i] = peiEmail.charAt[i].toLowerCase();
instead of
peiEmail[i] = peiEmail[i].toLowerCase();
now I have yet to test both ways to see what the difference is but i mean give it a shot and see if it solves...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.