Saturday, 29 September 2018

Download Free Images (Location : Konkan)






















These are the images that I took from my village. You can download it and use it for free.

Monday, 24 September 2018

Javascript Tutorial : Dropdown One Option Tag With Multiple Values





















Code :-



<script type="text/javascript">
    function get_values()
    {
        var a = document.getElementById('multiple_values').value;
        var array=a.split(",");
        var st='';
        for(i=0;i<array.length;i++)
        {
            st=st+" -> "+array[i];
        }
        //alert(array[2]);
        st="Values are "+st;
        document.getElementById('display').innerHTML=st;
    }
</script>

<select onchange="get_values();" id="multiple_values">
    <option value="">
        Select
    </option>
    <option value="586,896,8856">
        Numbers
    </option>
    <option value="Unpossible,pog,youtube">
        Characters
    </option>
</select>
<div id="display">
   
</div>

 _______________________________________________

More info














Hello
guys, this is unpossible pog and in this tutorial I shall show you
simplest way to apply multiple values on sslect tag that is in
dropdown option.
First
lets try sending single value, in script tag, create get_value
function, and in select tag, on change event, call that function.
The
function is called.
So
lets get the single value.
Give
an id to select tag, and call that id in getElementById function.
Store
that in variable a.
Now
the simplest way is to compress multiple values into one single value
and divide them using special character, in my case it is “comma”.
And
in javascript function, split them. Give comma in split function.
Array[0]
means the first variable that is in number it is 586, and in
characters it is “unpossible”.
If
you want to display all the values, then follow the steps that I am
showing.
Create
div and give specific id to it.
Thats
it guys, don’t forget to like share and subscribe.
And
I see you in the next video.








Friday, 21 September 2018

Journey To Village Episode 2 : Behind The Scene Of Short Film And The Crew





The main reason to visit my village is because the village is the shooting location of short film. Even thought films are long or short, there is a crew working behind to setup movie's props like lights, putting something or taking it out from the screen, assisting directors/camera man/actors. Crew increases the speed of shooting depending upon the manpower and experienced members.

Monday, 23 July 2018

Add States in Dropdown When Nation Is Selected | Add Values In Dropdown box Using Javascript | HTML tutorial

Code :-
<html>
    <head>
        <script>
            function random_function()
            {
                var a=document.getElementById("input").value;
                if(a==="INDIA")
                {
                    var arr=["Maharashtra","Delhi"];
                }
                else if(a==="USA")
                {
                    var arr=["Washington","Texas","New York"];
                }
             
                var string="";
             
                for(i=0;i<arr.length;i++)
                {
                    string=string+"<option value="+arr[i]+">"+arr[i]+"</option>";
                }
                document.getElementById("output").innerHTML=string;
            }
        </script>
    </head>
    <body>
        <select id="input" onchange="random_function()">
            <option>select option</option>
            <option>INDIA</option>
            <option>USA</option>
        </select>
        <div>
           <select id="output" onchange="random_function1()">
        </div>
    </body>
</html>
Dialogs :-

Hey guys, this is unpossible pog.
Today’s tutorial will be how to add values in dropdown when we select other dropdown.in this case we are adding states or cities in dropdown when you select contries.
First create a normal dorpdown, give it an ID as “input”.
I shall add nations in it.
Let’s check it.
Now add script tag, and create a function with any random name.
In select tag, onchange event, call the function name.
Now, the function is called correctly.
But we don’t need alert, so I shall remove it.
Lets create a variable “a” to get nation name from dropdown.
Then create division and give it an ID as “output”.
Lets print the nation’s name.
So far so good.
Now we need if else statements.
Give equals to symbol “three times”.
Add states in array.
We need a string and for loop.
We are appending the string.
Change “a” to “string”.
Let’s check if all states are coming or not.
Before and after array, add option tag in double quote.
Add name if you want to send it through form.
Add select tag inside div just to make an illusion.
So thats it guys, if you want code, then the link is in the description.
don’t forget to Like,share and subscribe. Thank you for watching, bye.