The optimal incremental function approximation method is implemented for the adaptive and meshless solution of differential equations. The basis functions and associated coefficients of a series expansion representing the solution are selected optimally at each step of the algorithm according to appropriate error minimization criteria. Thus, the solution is built incrementally. In this manner, the computational technique is adaptive in nature, although a grid is neither built nor adapted in the traditional sense using a posteriori error estimates. Since the basis functions are associated with the nodes only, the method can be viewed as a meshless method. Variational principles are utilized for the definition of the objective function to be extremized in the associated optimization problems. Complicated data structures, expensive remeshing algorithms, and systems solvers are avoided. Computational efficiency is increased by using low-order local basis functions and the parallel direct search (PDS) optimization algorithm. Numerical results are reported for both a linear and a nonlinear problem associated with fluid dynamics. Challenges and opportunities regarding the use of this method are discussed.