
November 16th, 2012, 07:55 PM
|
 |
pollyanna
|
|
Join Date: Jul 2012
Location: Germany
|
|
|
Hi,
um, don't you already have the two checks in one "if" statement?
But I think the problem is that your functions are far too specific. Writing a function for "blur the element #fname" makes no sense. Define a general function blur() and refer to the current element via "this".
|