Coding / Programming Videos

Post your favorite coding videos and share them with others!

Javascript Tutorial : Easiest Way To Send Multiple Values On Select Single Tag

Download Video link >



Javascript Tutorial : Easiest Way To Send Multiple Values On Select Single Tag

Code link :-
https://unpossiblepog.blogspot.com/2018/09/javascript-tutorial-dropdown-one-option.html

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.

Please avoid or flag spams/hateful comments. And do not spam. Enjoy 🙂

Subscribe my Channel:-
http://www.youtube.com/user/SanketRooney?sub_confirmation=1

Facebook Page:-
https://www.facebook.com/UnpossibleNS

Twitter Account:-

Blog :-
https://unpossiblepog.blogspot.in/

Javascript Tutorial : Easiest Way To Send Multiple Values On Select Single Tag
Javascript Tutorial : Easiest Way To Send Multiple Values On Select Single Tag
Javascript Tutorial : Easiest Way To Send Multiple Values On Select Single Tag

source

Bookmark(0)
 

 

View Comments source >

Leave a Reply

Please Login to comment
  Subscribe  
Notify of
Translate »