-
Define constant in angular 2
-
Changing HTML with JavaScript

Changing html with javascript is very simple but tricky, one can use InnerHTML javascript property to do that. Below I will show you how to do this step by step. <html> <body> <div id=”target”>will change this html</div> <script> document.getElementById(“target”).innerHTML=”here is the new html”; </script> </body> </html> Our goal is to change the html content of…
-
Zen Coding — a tremendous way of writing HTML and CSS code
Zen Coding is a set of plug-ins for text editors that allow for high-speed coding and editing in HTML, XML, XSL, and other structured code formats. The tools have been incorporated into a number of high-profile text editors, some plug-ins developed by the Zen Coding team and others implemented independently. However, Zen Coding is primarily…
-
Set default image or text in html input box

Suppose you have a user login panel which shows two input text field, one for username & another for password. Now you don’t wanna use level for this input box. Then What!!!!!!! Simply show text or image inside input box. Here is the code….. [sourcecode language=”javascript”] <form action="#" method="post"> <input name="login_username" value="email" type="text" onfocus="if(this.value==’email’) this.value=”;"…
-
Form submit by ajax/jquery
-
Top jquery lightbox scripts recent most beautiful

-
Onclick remove deafult data or value from input box