Skip to main content

Posts

Showing posts from 2016

How to put counter of remaining charector of text in textbox

How to put counter for char remaining in textbox Html <asp:TextBox runat="server" ID="TxtBody" CssClass="form-control" TextMode="MultiLine" Rows="5" placeholder="Body" MaxLength="159" ></asp:TextBox> <div id="Textremaining"></div> Javascript $(document).ready(function() {     var maxChar = 159;     $('#Textremaining').html(maxChar + ' remaining');     $('#<%=TxtBody.ClientID%>').keyup(function() {         var length = $('#<%=TxtBody.ClientID%>').val().length;         var remaining = maxChar - length;         $('#Textremaining').html(remaining  + ' characters remaining');     }); });

Check your content

http://www.copyscape.com want to check your content is posted in other site or in blog. check in from this site. this site list out the content is posted which places. very useful for bloggers.

Accept Attribute in Html

Accept attribute in html Specify that the server accepts only image files in the file upload < form   action= "demo_form.asp" >     < input   type= "file"   name= "pic"   accept= "image/*" >     < input   type= "submit" > < /form > Definition and Usage The accept attribute specifies the types of files that the server accepts (that can be submitted through a file upload). Note:   The accept attribute can only be used with <input type="file">. and also use in <asp:fileupload>  Syntax <input accept=" file_extension |audio/*|video/*|image/*| media_type "> Attribute Values Value Description

cool site for loading image Genrate

Cool site for loading image generate 8-) http://loading.io/