>I want use some code that is writen in Javascript. Is there any tools that can convert javascript to VFP?
Yes, but you won't like the answer. It's called programmer.
And it can be fun. I'm just porting something in the other direction, and they really are in different worlds (just like Plinio said). Still, many things can be achieved to parallel the functionality; it does you a slight shizophrenic feeling while trying to rethink the stuff from one into the other, but, like I said, it can be fun.