javascript for getting value entered in textbox

Eumetis Maharashtra, IndiaCommunity Member, Qualtrics Brand Admin Qubie ✭
edited July 20 in Custom Code

I want to write a code that can extract the first name from the form field first name and store it in a variable called fname using javascript

Best Answer

  • grahulp5
    grahulp5 IndiaCommunity Member Guru ✭✭
    Accepted Answer

    jQuery('input[type="text"]').eq(0).val(); //update '0' to the row no starting from 0.