push element in input array jquery code example Example: add value to array javascript var fruits = ["222", "vvvv", "eee", "eeee"]; fruits.push("Kiwi");