Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Showing posts with label Code Snippets. Show all posts
Showing posts with label Code Snippets. Show all posts

Angularjs Get Current Date or Time or DateTime with Example

Apr 23, 2015 2 comments
Introduction

Here I will explain how to get current datetime in
AngularJS or get only current date or time from AngularJS. By using “new Date()” function we can get current date or time or datetime in AngularJS.

Scrollable HTML Table Body with Fixed Header using CSS with Example

Mar 29, 2015 1 comments
Introduction

Here I will explain how to implement scrollable html table body with fixed header columns using css styles with example or html table with fixed header and scrollable or scrolling body using css with example.

Description:
  
In previous articles I explained Best Login page design with html and css, jQuery add border to all images using css, change default text color selection using css,
jQuery add multiple markers to google map from database, Show more link to shorten text and display it and many articles relating to html, css, jQuery, JavaScript and asp.net. Now I will explain how to implement html table with fixed header and scrollable body using css.

To implement html table with fixed header and scrollable body using css we need to write the code like as shown below

AngularJS Convert Number to Currency Format and Limit to 2 Decimal Places

1 comments
Introduction

Here I will explain how convert number to currency format in
AngularJS or limit number to display / show with 2 or two decimal places in AngularJS with required currency format. By using currency property in AngularJS we can convert number to currency format and limit number to display with decimal values.

Description:
  
In previous articles I explained
Angularjs convert lower case to upper case while typing text, Angularjs refresh div for every 1 second using interval mode, 5 + Angularjs Gridview and table plugin examples with demos, jQuery redirect to another page after 5 seconds and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how convert number to currency format and limit number to 2 decimal places in AngularJS.

To convert number to currency format and limit number to 2 decimal places in AngularJS we need to declare number like as shown below

jQuery Get Elements with Id or CSS Class Name with Example

Mar 19, 2015 0 comments
Introduction

Here I will explain how to use
jQuery to get elements with css class name or id with example. We can get elements (div) by using class name or id easily in jQuery.

Description:
  
In previous articles I explained
best login page design using css, change button color on mouseover using css, jQuery add border to images using css classes, 8 best audio player plugin examples and many articles relating to css, AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to use jQuery to get elements with css class name or id with example.

To get elements with class name or id using jQuery we need to write the code like as shown below

jQuery Remove() and Empty() Functions with Examples

Mar 18, 2015 1 comments
Introduction

Here I will explain how to use
jQuery empty() function and remove() function with examples. In jQuery both empty() and remove() functions are used to remove the elements. Empty() function in jQuery is used remove inside content of div element and remove() function is used to remove complete div element.

Description:
  
In previous articles I explained 8 best audio player plugin examples, jQuery video player plugin examples,
jQuery Hover dropdown menu, jQuery bouncing menu example and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to use jQuery empty() function and remove() function with examples.

By using empty() function we can remove inside content of div element and remove() function will remove complete div element for that we need to write the code like as shown below

jQuery Check Whether Div Element is Empty or Not

0 comments
Introduction

Here I will explain how to use
jQuery to check whether div element is empty or not or jQuery hide or delete div element in case if div empty. By using html selector property we can check whether div element is empty or not based on that we can hide or remove div.

Description:
  
In previous articles I explained
jQuery Hover dropdown menu, jQuery bouncing menu example, jQuery zoom image on mouse over using zoom plugin, jQuery split string into array by comma and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to use jQuery to hide or remove div if it’s empty.

By using html selector we can check whether div empty or not. If it’s empty we can hide or remove div for that we need to write the code like as shown below

jQuery Remove or Hide Div Element If It's Empty or Contains No Data

0 comments
Introduction

Here I will explain how to use
jQuery to hide or remove div if it’s empty or jQuery hide or delete div incase if div empty. By using html selector property we can check whether div empty or not based on that we can hide or remove div if it’s empty.

Description:
  
In previous articles I explained
jQuery Hover dropdown menu, jQuery bouncing menu example, jQuery zoom image on mouse over using zoom plugin, jQuery split string into array by comma and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to use jQuery to hide or remove div if it’s empty.

By using html selector we can check whether div empty or not. If it’s empty we can hide or remove div for that we need to write the code like as shown below

Disable Mouse Right Click on Page using JavaScript and jQuery in Asp.net

Mar 17, 2015 0 comments
Introduction

Here I will explain how to disable right click in asp.net (aspx) webpage using
JavaScript and jQuery. To disable right click on page using JavaScript and jQuery we need to disable oncontextmenu event, onmousedown and onmouseup events.

Description:
  
In previous articles I explained jQuery change image on mouse over, jQuery social sharing plugin examples,
jQuery Hover dropdown menu, jQuery bouncing menu example, jQuery zoom image on mouse over using zoom plugin, jQuery split string into array by comma and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to disable right click in asp.net (aspx) webpage using JavaScript and jQuery.

To disable right click on web page we need to write the code like as shown below

jQuery Hide Parent DIV if Child DIV (HTML) is Empty with Example

0 comments
Introduction

Here I will explain how to use
jQuery to hide parent div of child div empty or jQuery hide parent div incase if child div contains empty or without html data. By using empty selector and parent method we can find whether child div empty or not in jQuery.

Description:
  
In previous articles I explained jQuery Hover dropdown menu, jQuery bouncing menu example,
jQuery zoom image on mouse over using zoom plugin, jQuery split string into array by comma and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to use jQuery to hide parent div if child contains empty.

By using empty selector and parent method we can hide parent div if child div contains empty for that we need to write the code like as shown below

jQuery Remove (Delete) Multiple Divs with Same Id or Class Name

0 comments
Introduction

Here I will explain how to use
jQuery to delete multiple divs with same id or jQuery remove or delete all divs with same class name or jQuery delete elements with class name. By using remove() property we can delete or remove multiple divs with sample class name.

Description:
  
In previous articles I explained jQuery remove specific element from array by value, jQuery add items into array with example,
jQuery zoom image on mouse over using zoom plugin, jQuery split string into array by comma and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to use jQuery to delete multiple divs with same id or same class name.

jQuery Remove Specific Element from Array by Value or Index with Example

Mar 16, 2015 0 comments
Introduction

Here I will explain how to use
jQuery to delete or remove specific item or element from array by value or index with example or jQuery remove / delete specific element or item from array list with example. By using splice or grep properties in jQuery we can delete or remove specific item / element from array list.

Description:
  
In previous articles I explained
5 + jQuery flip effect plugin examples, 8 + jQuery page flip book plugin examples, jQuery zoom image on mouse over using zoom plugin, jQuery split string into array by comma, jQuery check if string contains specific text or not and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to delete or remove specific items from an array with example in jQuery.

By using splice or grep properties we can delete specific items from an array in jQuery for that we need to write the code like as shown below

jQuery Delete (Remove) Item from Array using Splice or Grep Properties

0 comments
Introduction

Here I will explain how to use
jQuery to delete or remove item from array or jQuery remove / delete specific element or item from array list with example. By using splice or grep properties in jQuery we can delete or remove specific item / element from array list.

Description:
  
In previous articles I explained
5 + jQuery flip effect plugin examples, 8 + jQuery page flip book plugin examples, jQuery zoom image on mouse over using zoom plugin, jQuery split string into array by comma, jQuery check if string contains specific text or not and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to delete or remove items from an array with example in jQuery.

By using splice or grep properties we can delete items from an array in jQuery for that we need to write the code like as shown below

jQuery Get All Child DIV IDs Inside of a DIV using Map() Function with Example

Mar 15, 2015 0 comments
Introduction

Here I will explain how to use
jQuery to get all child div ids inside of parent div using map() funtion with example or jQuery map() function to get div element ids of inside div with example. By using jQuery map() function we can get all child ids inside of another div.

jQuery Add Items (Element) to Array If Not Exists in List with Example

0 comments
Introduction

Here I will explain how to use
jQuery to add items or elements to an array if not exists in list with example. By using inArray property we can check whether elements exists or not in array using jQuery.

Description:
  
In previous articles I explained jQuery currency exchange rate example with google api, jQuery referesh div without reloading page, jQuery delete row from gridview and database in asp.net,
jQuery check if string contains specific text or not and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to add items to an array if not exists in array with example in jQuery.

By using inArray property we can add items to an array if not exists in jQuery for that we need to write the code like as shown below

jQuery Add (Insert) Items into Array List with Example

1 comments
Introduction

Here I will explain how to use
jQuery to add items into an array with example or insert items into array list in jQuery. By using push property we can add or insert items (elements) to an array list in jQuery.

Description:
  
In previous articles I explained jQuery split string into array by comma, jQuery check if string contains specific text or not,
jQuery round off numbers with decimal values , JavaScript get whole number division using Math.ceil function and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to add items to an array with example in jQuery.

By using push property we can add items to an array in jQuery for that we need to write the code like as shown below

Other Related Posts

© 2010-2012 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.