document.getElementsByName('card_from')[0].value; $(document.forms["transfer"].elements["card_from"]).val()