Showing posts with label Div. Show all posts
Showing posts with label Div. Show all posts
Tuesday, 12 May 2015
Thursday, 26 February 2015
Wednesday, 25 February 2015
Posted by Unknown on 02:54
with No comments so far
Introduction:
Some time
while working on web application it is needed to hide or show content on
specific condition. For example add alternate email is optional. It is not
necessary. So in that case we can use Show/ hide functionality on Checkbox. If anybody
wants to add alternate email, select the checkbox, textbox for alternate email will
be visible.
In this article I will explain how to show or hide
the controls/contents placed inside div tag on selecting the checkbox and hide and
clear out the controls e.g. textbox placed in div tag when we unselect the checkbox
in asp.net using jQuery. This can be done using ASP.Net code. But in this
example we will use JQuery for this purpose, because JQuery is light and fast.
Subscribe to:
Posts (Atom)