Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 81
  • Last Modified:

Change month dropdown

   <div class="form-group">
<label for="birthDate" class="col-sm-3 control-label"></label>
<div class="col-sm-9">
<input type="date" id="birthDate" class="form-control">
</div>
</div>

Open in new window

I have this code, I want whenever I click on the box for the drop down of the months to show not just when I click on the arrow.
Which means they cant edited it without clicking on month
0
Jasmine Ikhreishi
Asked:
Jasmine Ikhreishi
  • 3
  • 2
1 Solution
 
skullnobrainsCommented:
you're not posting the relevant code which is likely a bunch of javascript. there is no drop down anything in there.
0
 
Jasmine IkhreishiAuthor Commented:
Thats all I had to post and I got a dropdown?
0
 
skullnobrainsCommented:
you missed part of the page. most likely a js is loaded and acts on #birthdate.formcontrol elements. paste this in netepad, open it in a browser, you won't see a dropdown which would require either a <select> form control or a bunch of html, in that case probably generated by a bunch of js using a framework such as jquery
0
 
skullnobrainsCommented:
no need to accept answers in such cases. you can edit your question and add missing information, or even delete the question
0
 
Jasmine IkhreishiAuthor Commented:
I solved it on my own
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now