Get controls value in javascript
<p>Check this code:</p>

<pre><code>&lt;script&gt;
  $(function () {
      var i = 0;
      var h = new Object();
$("#IssuerActivity").draggable({
    appendTo: "body",
    helper: "clone"
});
$('#Button1').hide();
$("#cart").droppable({
    activeClass: "ui-state-default",
    hoverClass: "ui-state-hover",
    accept: "#IssuerActivity",
    drop: function (event, ui) {
        i = i + 1;
        var ob2 = $(ui.draggable).clone(true).attr("activityId", i++);
        $(this).append(ob2);
        h[i] = ob2;
    }
});

$("#generate").button().click(

    function (event) {
    $.ajax({
        type: "POST",
        url: "XXXXX",
        data: "{}",
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        success: function (msg) {
            document.getElementById("&lt;%=ListSharepoint.ClientID%&gt;").options.length = 0;
            var totalArray = msg.d;
            $.each(totalArray, function (index, value) {
                var opt = document.createElement("option");
                document.getElementById("&lt;%=ListSharepoint.ClientID%&gt;").options.add(opt);
                    opt.text = value;
                    opt.value = value;
                });

                for (var k in h) {
                    if (h.hasOwnProperty(k)) {
                        var obj = h[k];
                        alert(obj.attr("activityId"));
                    }
                }

                $("#dialog").dialog('open');
            },
            error: function (jqXHR, textStatus, errorThrown) {
                alert(textStatus); alert($.parseJSON(jqXHR.response));
                alert(errorThrown);
            }
        });

        return false;
    });
});
</code></pre>

<p>This is the code of a custom webpart that I have in sharepoint 2013. </p>

<p>Check this webpart too:</p>

<p><img src="http://i.stack.imgur.com/EGlKy.jpg" alt="WebPart"></p>

<p>Check global sharepoint page:</p>

<p><img src="http://i.stack.imgur.com/9YP0P.jpg" alt="Page"></p>

<p>So The idea is, drop issuer concentration activity to the workflow container. This is works but now I need that when an user click on Go! button an alert message display the value of the controls that there are in workflow container. Are there some way to do it? For example No more than EXAMPLE %MARKET VALUE... when a user click on Go! button javascript display EXAMPLE, %MARKET VALUE...</p>
