27
rated 0 times
[
34]
[
7]
/ answers: 1 / hits: 77500
/ 11 Years ago, tue, october 29, 2013, 12:00:00
I have this JavaScript function:
function Test(isValid) {
var divStart = $get('divDateFrom');
var divEnd = $get('divDateTo');
var txtStartDate = divStart.firstChild;
var txtEndDate = divEnd.firstChild;
var isValidFromForecastStartDate;
txtEndDate.setAttribute('dateInRegionalFormat', txtEndDate.value);
}
This function is working fine in IE but I'm getting txtEndDate.setattribute
is not a function error in Firefox and Chrome.
More From » asp.net