in reply to Re^3: html input value
in thread html input value

yes i know. my html has no form. i just want to get value when the page loads

Replies are listed 'Best First'.
Re^5: html input value
by soonix (Chancellor) on Oct 09, 2018 at 11:42 UTC
    You say
    i just want to get value
    Before you can get that, you need to decide FROM WHERE you want to get it.
Re^5: html input value
by marto (Cardinal) on Oct 09, 2018 at 11:38 UTC

    Then your understanding of everything I've linked to is wrong.