Jump to content

'length' of null


Recommended Posts

How can i solve this issue? anyone can help me ? I'm starting using Javascript

 Uncaught TypeError: Cannot read property 'length' of null
    at HTMLInputElement.<anonymous> (hr_employee_form.php:678)
    at HTMLInputElement.dispatch (VM3361 jquery.js:3)
    at HTMLInputElement.r.handle (VM3361 jquery.js:3)

        let url_string = window.location.href;
        let url = new URL(url_string);                              
        let empid = url.searchParams.get("empid");

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...