Results 1 to 3 of 3

Thread: Ext.select - comma in attribute

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default Ext.select - comma in attribute

    Worked:
    Ext.select('a[value=1]')
    But if I need find value = "1,2,3"
    <a value="1,2,3">
    Ext.select('a[value=1,2,3]')
    it crashes.

    Has this problem a solution?

    I know about
    Ext.select('a[value^=1]')
    it find value = "1,2,3",
    but it find for example value = "111"

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Ext.select should be able to take an array of selectors
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default

    It is not an array. It is one value.
    String "1,2,3" is possible for <input> value for example.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •