This is a very brittle code. If your jQuery selector would not return exactly 3 inputs one day then you will have a JavaScript error right here in paramaters trying to access .value parameter of undefined. Try to think of the way to make it more robust.