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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1381
      0  

    Default

    Ext.select should be able to take an array of selectors
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •