I want to get month and year value from label. How can i get these using jquery?
<label year="2010" month="6" id="current Month"> June 2010</label>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Firstly, I don’t think spaces for an id is valid.
So i’d change the id to not include spaces.
then the jquery code is simple (keep in mind, its better to fetch the jquery object once and use over and over agian)