Hi,
Please any help for my problem i work with visual studio 2016 and when i want to navigate to html page wuth
webbrowser control on vb or c# i get a error script number 1028 with this code:
$(function() {
initDatePicker()
});
function initDatePicker(){
$( ".datepicker" ).each(function() {
if (!$(this).attr('title')){
$(this).datepicker({
dateFormat: "dd/mm/yy",
changeMonth: true,
changeYear: true,
showOn: "button",
buttonImage: '/GID.Web/styles/img/date.png',
buttonImageOnly: true
});
}
else {
minidate = $(this).attr('title').split(":")[0];
maxidate = $(this).attr('title').split(":")[1];
$(this).datepicker({
dateFormat: "dd/mm/yy",
showOn: "button",
changeMonth: true,
changeYear: true,
buttonImage: '/GID.Web/styles/img/date.png' ,
buttonImageOnly: true,
yearRange: $(this).attr('title'),
minDate: new Date(minidate, 1 - 1, 1),
maxDate: new Date(maxidate, 12 - 1, 31)
})
}
});
}
when i load this page with IE or firefox its works but it doesnt work with webbrowser
when i put
WebBrowser1.ScriptErrorsSuppressed() = True
it give me http 404 error
Please help...
What I have tried:
WebBrowser1.ScriptErrorsSuppressed() = True it give me http 404 error
Please help...