Posts

How to make money on social networking Websites ?

How to make money on social networking Websites ?

How To Remove Elements In Array

With Slice method we can remove the Elements in Array . The following code snippet is an Example of the Same. <!DOCTYPE html> <html> <body> <p>Click the button to extract the second and the third elements from the array.</p>   By Clicking the following button we are calling the myFunction ()  Function . <button onclick="myFunction()">Try it</button> <p id="demo"></p> <script> function myFunction() { now we have a variable "fruits " which contains the following Data .     var fruits = ["Banana", "Orange", "Lemon", "Apple", "Mango"]; With the slice method we can remove element in side an Array . In the following example we want to remove one elements which is in the 1st and 3rd index position of the Array . It will slice that particular elements in and returns the balance elements  which will be stored in "citrus ". ...

What is meant By intolerance?

When 100s of People died in Mumbai Due to Terrorist Attacks is it  Tolerable ? When 1000s of Farmers are ending their lives duo to so many problems .. It is Tolerable ? Now all of Sudden what happened to the people (I Mean congress Supporters ) to give the Statement about intolerance? . It clearly shows that its a political stunt . I have so many Muslim friends who are with us from so many decades . we are not seeing any changes in their lives and they are not getting afraid . There are so many issues to make politics . Why this Hindu and Muslim matter . All the Muslims who are with us now they are Indians . Please don't play any Political Games between us . We are not supporters either for any Parties . So Please stop all this Non sense .

HTML5 and CSS3 Beginner Tutorial 1

Image
Hi Friends , I have already introduced about HTML . If you are seeing this blog and reading my post means i think you want to know about some thing about HTML and Web development . I have not created the following tutorial . But i thing it will be very useful for you to know more about HTML    HTML5 and CSS3 Beginner Tutorial 1

How to delete the selected Div

here is simple image gallery Program . When we Click that particular div will be deleted  . it will delete all the div until the last Element. Here is the Code <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head>     <title></title>     <style>         #box1, #box2, #box3, #box4, #box5 {             width:150px;             height:150px;             border:1px solid red;             display:block;                   }         li {     display: inline; } #box1{     background-color:red; ...

How to hide and show a element with if else condition .

How to hide and show a element with if else condition . in this program , when we click the button it will check the 'myDiv' is hidden or not . If it is hidden it will change the css property so that the element will show . other wise it will be hide . <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head>     <title></title>     <style>     #myDiv{         width:300px;         height:200px;         background:Red;            }         </style> </head> <body>     <div id="myDiv">     </div>     <button onclick="myFunction()">Click</button><!-- When user clicks on the this Button it will call myFunctio...

How to Loop through the Java Script Arrays

Image
How to iterate the data in an Array or the j son ? Fist Let us have one simple Array with few objects inside Example: var states=[{"name":"Andhra Pradesh"}, {"name":"Karnataka"}, {"name":"Telangana"}, {"name":"Kerala"}, {"name":"Tamil Nadu"} ] To display the Data we have to loop the Array . So let us use for loop for the same ; for (var i =0;i<states.length;i++){  document.write (states[i].name) } If you have multiple data values in the objects inside the array , you have to use the property of that object next to the array . For example let us add one more value to the existing Array . var states=[{"name":"Andhra Pradesh","capital":"Amaravathi"}, {"name":"Karnataka","capital":"Bangalore"}, {"name":"Telangana","capital":"Hyderabad"}, {...