Skip to content
March 6, 2009 / Ben Chun

Test Me

So we’re working on some JavaScript stuff, and a student calls me over with a question. She wants to know why clicking a link that she’s wired up with an onClick also causes the browser to open a new Explorer window. I ask her if she happened to set an a href to nothing.  (Yes.) Then another student helpfully chimes in, “Yeah, you should just set it to #”.  At this point, I’m pretty much irrelevant, so I say, “Hey, if you have any other questions, ask him.”  I like this, because I get to step into the role of asking why things work or what they mean, rather than dispensing facts.

As I’m walking away, I hear her ask him, “OK, what’s the square root of negative 1?” And he says, “i.”  And she yells after me, “He knows!”

One Comment

Leave a Comment
  1. TitaniumDreads / Mar 6 2009 5:38 pm

    :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: