When I click any date in Calendar. It subscribe to YUI render:
YAHOO.example.calendar.cal1.selectEvent.subscribe(mySelectDate, YAHOO.example.calendar.cal1, true);
YAHOO.example.calendar.cal1.addRenderer(txtDate1.value, YAHOO.example.calendar.cal1.renderCellStyleHighlight2);
YAHOO.example.calendar.cal1.render();
In my application, I need send new request to the server and get result for this specific date. It works well in Firefox, however, it does not always work in IE6. After dig for a while, there exist this code in YUI calendar.js:YAHOO.widget.Calendar.prototype.renderCellDefault = function(workingDate, cell)IE does not pass javascript:void(null) in href.
Exist: javascript:void(null) in href
href="javascript: ", onclick="javascript:"
There is no such thing as a JavaScript protocol on the web. Links use protocols to connect documents.
2 comments:
The information here is great. I will invite my friends here.
Thanks
Post a Comment