Navigation

    Monaca & Onsen UI
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. willcarenow
    W
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    willcarenow

    @willcarenow

    0
    Reputation
    1
    Posts
    494
    Profile views
    1
    Followers
    0
    Following
    Joined Last Online

    willcarenow Follow

    Posts made by willcarenow

    • ons-select not firing change event

      I’m using the javascript version.

      The select appears to be declared properly (is displayed as expected in the browser, chrome) but when an option is changed the onchange event is never fired.

            <ons-row id="ph-row">
                <ons-col style="padding: 10px;">
                    <div class="label">Swap with</div>
                    <ons-select id="ddlSwapWith" onchange="ddlSwapWithChange(event)">
                        <option value="0">select...</option>
                    </ons-select>
                </ons-col>
            </ons-row>
      

      There are no errors or any other signs of an issue in the js console.

      The other events in the app appear to be working so I’m not sure what the deal is.

      The app structure (housed in the js directory):
      * html directory housing views (where select is defined)
      * app.js (where event funtions are defined)
      * controllers.js
      * services.js

      posted in Developer Corner
      W
      willcarenow