[Solved] can we call a class attribute in javascript function? [closed]


the page has one input field, when ever i clicked tha input field one overlay window has to come with another input field.

<input onclick='prompt("Another input","...");' />

solved can we call a class attribute in javascript function? [closed]