Last active
December 1, 2016 21:41
-
-
Save EliJDonahue/7887688ca131ec58dd3257e69bd5ef62 to your computer and use it in GitHub Desktop.
Override default date field style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////// Override default styles ///////////////////////////// | |
// default date select style with custom button icon and class | |
var cals = document.getElementsByClassName("sys_f_input_image_calendar_ff"); | |
setAttributeOnAll(cals,'src',dateBtn); | |
replaceClass(cals,'sys_f_input_image_calendar_ff',' my_cal_btn_ff'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment