jQWidgets Forums

jQuery UI Widgets Forums Grid Only Number Input

This topic contains 5 replies, has 2 voices, and was last updated by  ekaperintis 12 years, 5 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Only Number Input #12799

    ekaperintis
    Participant

    this is my source code

    rendertoolbar: function (toolbar) {
    var me = this;
    var container = $("<div style='margin: 5px;'></div>");
    var span = $("<span style='float: left; margin-top: 5px; margin-right: 4px;'>Search Nopel: </span>");
    var input = $("<input class='jqx-input jqx-widget-content jqx-rc-all' id='searchField' type='text' style='height: 23px; float: left; width: 223px;' />");
    toolbar.append(container);
    container.append(span);
    container.append(input);
    if (theme != "") {
    input.addClass('jqx-widget-content-' + theme);
    input.addClass('jqx-rc-all-' + theme);
    }

    can you help me,

    id=’searchFiedl’ type=’text’

    only number input …

    thanks you

    Only Number Input #12812

    Peter Stoev
    Keymaster

    Hi ekaperintis,

    What is the expected behavior from this code and what is the issue on your side?

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Only Number Input #12822

    ekaperintis
    Participant

    Hii Peter ….. I’m sorry if my language is less you understand it

    I want to just be inputted text fields with numbers

    Only Number Input #12856

    ekaperintis
    Participant

    I can just only input text numeric,

    can you help me …

    Only Number Input #12857

    Peter Stoev
    Keymaster

    Hi ekaperintis,

    In case you want to input only numbers, you can use the jqxNumberInput widget. Here’s a sample which demonstrates how to initialize the jqxNumberInput: defaultfunctionality.htm.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Only Number Input #12858

    ekaperintis
    Participant

    Hi Peter Stoev

    Yes, i know but i dont understand implementation with source code this …

    rendertoolbar: function (toolbar) {
    var me = this;
    var container = $("<div style='margin: 5px;'></div>");
    var span = $("<span style='float: left; margin-top: 5px; margin-right: 4px;'>Search Nopel: </span>");
    var input = $("<input class='jqx-input jqx-widget-content jqx-rc-all' id='searchField' type='text' style='height: 23px; float: left; width: 223px;' />");
    toolbar.append(container);
    container.append(span);
    container.append(input);
    if (theme != "") {
    input.addClass('jqx-widget-content-' + theme);
    input.addClass('jqx-rc-all-' + theme);
    }

    Thanks you

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

You must be logged in to reply to this topic.