JSFiddle - React, Tailwind, and code Playground
HTML
<div id="numberid">
<input name="numberid" id="textbox1" value="22984" type="text">
<li data-icon="false"><a href="#" data-productname="xx1234" id="href">This is the name of value xx1234</a></li>
<p id="surveyresult"></p>
JavaScript
$("#href").on('click', function(e) {
var value = $(e.currentTarget).data().productname;
goUrl = 'http://www/abc.com/' + value + '?referringRepId=' + $("#textbox1").val() +
$("#textbox1").val() ;
$("#surveyresult").text("You have selected the " + value + ". " + goUrl);
//$.mobile.changePage("#dataform", { transition: "slidedown" });
} );