• No categories

getting value and text-value of select in jquery

Hello Everybody, here i am going to show, how you can get value and textvalue of a select element with jquery. you can download latest version of jquery from here [download jquery]. In this code i used two functions of jquery for getting value(val()) and text(text()) of selected option of a select or combobox.
Insert following code in webpage :
<select id=”myselect”>
<option value=”1″>Javascript</option>
<option value=”2″>Jquery</option>
<option value=”3″>PHP/Mysql</option>
<option value=”4″>Asp.net</option>
<option value=”5″>Java</option>
<input type=”button” value=”Get Value” onclick=”alert($(‘#myselect’).val())”/>
<input type=”button” value=”Get Text Value” onclick=”alert($(‘#myselect option:selected’).text())”/>

Viagra is the most famous ‘love pill’ in the world, but it is not the only option for you. The majority of men who tried both brand and generic pills state that Cialis (the most famous and top-quality generic drug) works better. It is up to you to decide whether you choose brand pills or buy Cialis, but ED patients state that:
Now it is possible to avoid awkward publicity if you buy Cialis online in our reliable web pharmacy. To purchase Cialis online simply place your order, use your credit card to pay for your pills, cialis 10mg receive your drug per post in a decent package and start your way to perfect men’s health!

Before starting our conversation about Viagra, let us mention some facts about ED. You will be surprised to find out that healthy sex life is more than great pleasure and ability to have children. It is the best and only way to guarantee natural training of the male heart, lungs, blood vessels and muscles. It is also the most efficient way of restoring male central nervous system. Normal sex life prevents the development of such severe diseases as stroke, heart attack, viagra no prescription non generic high blood pressure (hypertension), diabetes, cancer, neurosis, depression, dementia etc. Now you know that men think the worlds of their erectile function for a reason!

You can buy Viagra in the nearest drugstore if you have a prescription from your doctor. It means, your awkward health disorder becomes public inevitably. Do not be frustrated! Fortunately, you can avoid any publicity at all if you choose to buy Viagra online. Our reliable online pharmacy will offer you top-quality pills from the manufacturer at the best price and also accept payment through Paydaynow financing.

Attention! viagra no prescription non generic Do not fail to see your doctor before ordering Viagra online! Use the lowest dose of the drug that works. Never overdose your ‘love pills’ – take only 1 pill about 1 hour before intended intercourse. Never take Viagra repeatedly within 24 hours!

About the Author:

Comments are closed.