jquery get asp.net label text
var labelText = $('#<%= lblabc.ClientID %>').html();
Achievement provides the only real pleasure in life
var labelText = $('#<%= lblabc.ClientID %>').html();
Posted by SF at 4:57 pm 0 comments
if ($('#isAgeSelected').is(':checked')){
//your code here
}
Posted by SF at 3:31 pm 0 comments
DATEPART(portion, datetimevalue)
the options for portion are:
Ms for Milliseconds
Yy for Year
Qq for Quarter of the Year
Mm for Month
Dy for the Day of the Year
Dd for Day of the Month
Wk for Week
Dw for the Day of the Week
Hh for Hour
Mi for Minute
Ss for Second
e.g.
select startdate,DATEPART(Hh,a.startdate)
this returns the hour of startdate
Posted by SF at 11:11 am 0 comments