jQWidgets Forums

jQuery UI Widgets Forums Grid jqXInput field value not passing to server code

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • mallepaddi
    Participant

    Hi

    I am using Input fields as below .. i am not able to see poNumber attribute value passing to server where as able to retrieve all other field data.

    <form id=’createOrderForm’ enctype=”multipart/form-data”>
    ………
    <input id=’poNumber’>
    …………..
    </form>

    $(“#poNumber”).jqxInput({width: ‘125px’, height: ’20px’ , theme:’web’});

    $.ajax({
    cache: false,
    url: ‘/dataServlet?action=CreateOrder’,
    data: createOrderForm.serialize(),
    type: “POST”,
    success: function (data, status, xhr) {
    alert(‘success create order’);
    },
    error: function (jqXHR, textStatus, errorThrown) {
    alert(errorThrown + ” / Error while creating order : ” + rowid[m]);
    }
    });

    Thanks


    Peter Stoev
    Keymaster

    Hi mallepaddi,

    Values usually are passed to a server, if you set the “name” attribute, not the “id”. You can see such samples in the PHP Integration demos.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.