1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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
    SEMrush
    $("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
    SEMrush