Click here to Skip to main content
15,918,808 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Convert this javascript function in jquery function...

Kindy Thnx For Help..

JavaScript
          <script type="text/javascript">
function showDate(){
	alert(document.getElementById('date').value);
	}
</script>

note-
HTML
<select class="date" name="date" id="date">
						 <option value="1">MM</option>
                                                    <select>
                                                        <option value="">DD</option>
                                                    <select> 
                                                    <select>
                                                        <option value="">YYYY</option>
                                                    <select> 
Posted
Updated 24-May-12 5:06am
v3
Comments
Sergey Alexandrovich Kryukov 24-May-12 18:07pm    
"jQuery function" is a JavaScript function. LOL.
--SA

1 solution

JavaScript
alert($('#date').val());


lol?
 
Share this answer
 
Comments
kushal.choudhary 24-May-12 10:48am    
Hello Hei Morley Thnx for Ans..Y this Is LoL..??:P
Sergey Alexandrovich Kryukov 24-May-12 18:09pm    
And why is this "Thnx" instead of "Thank you", "Ans" instead of "answer, "Y" instead of "why"? Do you think this is polite or even acceptable?
--SA
Sergey Alexandrovich Kryukov 24-May-12 18:06pm    
LOL, LOL... My 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900