?

Log in

Previous Entry | Next Entry

javascript makes me crazy!

So, I have this bright idea to take two classes this semester. One is javascript and the other is ajax. I've been winging javascript in some of the existing programs and I just need a good grounding. Ajax - I know very little but we'll be using it soon. They're both short classes - 8 weeks each. The ajax class doesn't start until May.

Homework is due every Friday by 11:55pm. This means reading through two chapters, doing the tutorial problems, case study (1-2), and review questions. Ah joy, learning a new syntax - especially remembering that stupidProgram is not the same variable as stupidprogram AND the drat semicolons.

My program should work!!! But it's not.

"run time error has occurred. Do you wish to debug? Line 39 error: object doesn't support this property or method"

it's dying on the line which read thisMinute = timeObj.getMinutes();


Help???

Comments

( 3 comments — Leave a comment )
mat_t
Feb. 9th, 2007 11:33 pm (UTC)
Javascript is almost pure, unadulterated evil.

That said, I think it's getMinute(), not getMinutes()
debmats
Feb. 10th, 2007 06:37 am (UTC)
nope. it is getMinutes()

gave up and just redid the whole thing. It worked. Go figure.
mat_t
Feb. 10th, 2007 07:20 am (UTC)
Hmmm. I did some checking via Google and all the references I saw were to getMinute(). Of course, you didn't list what class the object was of, so I could have been looking at the wrong thing. :)
( 3 comments — Leave a comment )

Latest Month

May 2017
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28293031   
Powered by LiveJournal.com
Designed by Naoto Kishi