Monirul Islam

    29-Sep-13 12:30:50 pm

    Disable right click on browser window doctype html head title

    Disable Right Click On browser Window <!DOCTYPE html> <head> <title>Disable Right Click</title> <script type="text/javascript"> function disableselect(e){ return false; } function reEnable(){ return true; } //if IE4+ document.onselectstart=...

    Read More


    MD. IQBAL HOSSAIN

    29-Sep-13 11:10:13 am

    Make your digital clock with javascript script function var mydate

    Make your digital clock with javascript <script> function clock() { var mydate=new Date(); h=mydate.getHours(); m=mydate.getMinutes(); s=mydate.getSeconds(); if(m<10) { m="0"+m } var suffix="AM"; if(h>=12) { suffix="PM" h=h-12; } if...

    Read More


    Mohammad Towhidul Islam

    25-Sep-13 12:54:01 pm

    How to work with dom using javascript you can read value from

    How to work with DOM using JavaScript? You can read value from text box (input tag) and can process values to produce output. And then print output to text box. see the following example: <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content...

    Read More


    Zinia Islam

    09-Sep-13 11:55:38 pm

    Javascript tutorial lesson3 part b javascript data types javascript booleans can only have

    JavaScript Tutorial - Lesson:3 [Part-B] JavaScript Data Types: JavaScript Booleans Booleans can only have two values: true or false. var x=true; var y=false; Booleans are often used in conditional testing. You will learn more about conditional testing in a later chapter of this tutorial...

    Read More


    Zinia Islam

    09-Sep-13 11:40:10 pm

    Javascript tutorial lesson3 part a data types 1 string 2 number 3

    JavaScript Tutorial - Lesson:3 [Part-A] JavaScript Data Types: 1. String, 2. Number, 3. Boolean, 4. Array, 5. Object, 6. Null, 7. Undefined. JavaScript Has Dynamic Types JavaScript has dynamic types. This means that the same variable can be used as different types: Exampl...

    Read More


    Mohammad Towhidul Islam

    08-Sep-13 12:09:55 am

    How to declare javascript method and call it doctype html

    How to declare javaScript method and call it? <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>JavaScript and function</title> <script type="text/javascript"> //--a...

    Read More


    Mohammad Towhidul Islam

    08-Sep-13 12:02:14 am

    Javascript variable and parsing data to convert string to integer use funcition

    To convert string to integer use funcition parseInt() Example: <script> var x; y="6" x=20; document.writeln(x+y); document.write(x+parseInt(y)); </script> Output 206 26...

    Read More


    Mohammad Towhidul Islam

    07-Sep-13 11:51:53 pm

    Javascript variable and declaration to declare in javascript you can use var

    JavaScript variable and declaration To declare variable in javaScript you can use var keyword. However the var keyword is optional in javascript. Example: <script> var x; y=6 x=20; document.write(x+y); </script>

    Output

    26...

    Read More


    Mohammad Towhidul Islam

    07-Sep-13 11:45:12 pm

    Javascript hello world program you can print plain text or html in

    JavaScript hello world program You can print plain text or html in the html document dynamically with javascript functions 1. document.write() and 2. document.writeln() <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charse...

    Read More


    Mohammad Towhidul Islam

    07-Sep-13 11:34:41 pm

    How to quick start javascirpt you can write javascript language within

    How to quick start JavaScirpt? You can write JavaScript language within <script></script> tag any where in the html document. Ideally we can use <script> </script> tag within <head></head> and <body></body> tag. Example <!DOCTYPE HTML...

    Read More


Copyright © 2024. Powered by Intellect Software Ltd