Need help capturing and passing data from an input box.

Discussion in 'jQuery' started by dariusd77, Nov 15, 2016.

  1. #2
    I tried the following two script to capture and pass data from an input box, but neither work. Please advise.
    Thank you

    $("input[name='loanAmount']").mouseleave(function(){
    varAmount= $this.attr("input[name='loanAmount']").val();
    _satellite.setVar('loanAmount',Amount);
    _satellite.getVar('loanAmount');
    return true;
    Code (markup):
    I also tried this.
    varAmount= $this.attr("input[name='loanAmount']");
    _satellite.setVar('loanAmount',Amount);
    _satellite.getVar('loanAmount');
    return true;
    Code (markup):
     
    Last edited by a moderator: Nov 15, 2016
    dariusd77, Nov 15, 2016 IP