Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

multiple-select

Is it possible to configure a UITableView to allow multiple-selection?

July 27, 2023 by Tarik

Following property should work fine if you are developing app for iOS5.0+ self.tableView.allowsMultipleSelection = YES;

Categories iphone Tags cocoa-touch, iphone, multiple-select, uitableview Leave a comment

allow new values with chosen.js multiple select

May 7, 2023 by Tarik

According to the documentation you can try doing something like this: $(‘select’).append(‘<option>test</option>’); $(‘select’).trigger(‘liszt:updated’); As Tony stated in the comments below: “Starting with version 1.0 which the trigger is now “chosen:updated”. See harvesthq.github.io/chosen/#change-update-events”

Categories jquery Tags jquery, jquery-chosen, multiple-select Leave a comment

Javascript/jQuery: Set Values (Selection) in a multiple Select

December 16, 2022 by Tarik

Iterate through the loop using the value in a dynamic selector that utilizes the attribute selector. var values=”Test,Prof,Off”; $.each(values.split(“,”), function(i,e){ $(“#strings option[value=”” + e + “”]”).prop(“selected”, true); }); Working Example http://jsfiddle.net/McddQ/1/

Categories javascript Tags javascript, jquery, multiple-select Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa