ipad safari pop up said I had a trojan and that I should scan for viruses
I was browsing using Safari on my ipad, and a pop up window that looked like it was an Apple window said something about a trojan and needing to scan. It would not let me close out the window in Safari, so I clicked on the thing and then it said it was infected, and I was then able to close out the window. I panicked, so I went to settings and turned off Wifi so it hopefully wouldn't do anything to my other devices (iphone and my toshiba laptop). I'm not tech savvy so I don't know if I really have a virus now, or if it's bogus. Does anyone know what I should do?
iPad (4th gen) Wi-Fi, iOS 6.1.3