Yahoo User Interface and WordPress, Javascript Array Problem
-
I’m using a YUI 2 calendar widget within a wordpress installation, and have a problem printing a date array.
Here are the configuration options of the calendar, to see how the dates are passed as a non-array, for example “11/12/10,04/12/11”
http://developer.yahoo.com/yui/calendar/#configHere is the code I’m using, with an anonymous function:
http://pastebin.com/qASAsxGhWhen the page loads, it’s completely blank except for the date_array which is printed at the top of the page. Does wordpress need some additional work around for this to function?
I’ve already done enqueues for several other javascript pieces, however I find it strange that the calendar loads perfectly with the dates highlighted if I pass in “11/12/10,04/12/11”, but does not work if I try to use the function DateAnon()
I appreciate any and all help!
WP
The topic ‘Yahoo User Interface and WordPress, Javascript Array Problem’ is closed to new replies.