skip to Main Content

How can I set the date field in javascript

I wrote following scr but my form field is still empty. function callme(e) { let today = new Date(); document.getElementById('dtCikisTarih').value = today; } My form field has a specific definition as <asp:Button ID="btnAktar" runat="server" Text="Aktar" CommandName="AktarRow" class = "inp" OnClientClick="return…

VIEW QUESTION

Asp.net – how the Visual studio not accepting my code

using System; using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; using Simple_website.Services namespace simple_website.Controllers { public class UserViewModel { public Guid Id { get; set; } public string Login { get; set; } public string FirstName { get; set; } public string LastName {…

VIEW QUESTION
Back To Top
Search