Thread: Age Calculation
View Single Post
  #19  
Old 05-05-2010, 12:44 PM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: Age Calculation

Quote:
Originally Posted by Tal
Don't use 08 or 09. Javascript won't accept it as a number.


Edit:
Checked your site, going thru the javascript now to see what changed...

Edit2:
Found it.

Your site:
Code:
<input name="age" size="40" value="Result"><br>

Proper:
<form name="age">
<input name="age" size="40" value="Result"><br>
</form>

Yeah that's what I had on there. I even check the source code. hmmm Maybe it's because of Firefox?

I did see in the code that the var's are being set to the correct day,month,year.

Edit:
Nope IE blows too. :P

OMG this is so stupid, why is it not working.

I was asking before, is there a different way to store the calc and display it not using the form?

Really what I'd like is the details page to look like is:
Puppy Name Junior is 4 months, 2 days old.
Other Sites Sell For: $699.00
Our price: $0.01
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote