Ideal capacitor means infinite resistance for dc. When an ac source is used, the current flows continuously, but we know that the capacitor has dielectric (air) between its plates. So, ideally there is no current, and circuit would be incomplete. In real capacitor is charged due to contribution of varying electric field. The current between the capacitor plates is given by displacement currentD = ∈ E