The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Working on a B-tree form. Reply To: Working on a B-tree form.


Encapsulation. It creates a local scope.

Gotcha… but I’m wondering if the reason you did this is because the validation logic will be encapsulated in its own function? That way we don’t have any pollution between the two? Or would you put the validation logic in this function?