Iphone 5 password disabled?

My little cousins were playing with my iphone and they changed the password and I tried o unlock it but since I didn't know the password I disabled it and the worse thing is that I can't find the string of my charger so I can connect it to my computer! Does anyone know how to unlock it without needing the computer?!

Unfortunately you need a computer in order to restore it. It's the only way to fix this issue. You may just have to buy another cable.