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

[ad_1]

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","...");' />

[ad_2]

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