Skip to main content

All Questions

Tagged with
0 votes
0 answers
56 views

How to re-render dropdown with search text data filtered

I am using a bootstrap selectpicker with knockout.js binding which has multiselect as well as data-live-search properties on. Here is a scenario Steps: Open dropdown, type ‘cat’ in dropdown Due to ...
Keren Caelen's user avatar
  • 1,466
0 votes
0 answers
32 views

Magento 2: wrong shipping method saved in order

We have 2 delivery methods enabled on Magento 2.4.6: home delivery and a custom store pickup. If the home delivery method is selected and correctly saved in the order, the customer's address is ...
Fano Avotiana's user avatar
0 votes
1 answer
34 views

knockout save reordering with jQuery SortableJS when drag/drop rearrange list in

I have a knockout application, where I have a list of divs for a knockoutobservablearray. After I move an item to a new position. How do I update the knockoutobservablearray to reflect the changed ...
user1561196's user avatar
0 votes
1 answer
176 views

Uncaught: Type error: this.removeClass is not a function

I have a common pagination code, cshtml in the form of a partial view: <div id="paging"> <span></span> <span></span> <a data-mini="true" class=&...
Sumit Roy's user avatar
  • 423
0 votes
2 answers
122 views

How to display images and text using knockout?

I'm learning more about knockout.js. I want to add images to my text data, and display the correct one based on the image link provided in the array with it's matching data. I only want one set to ...
CodingSkeletons's user avatar
0 votes
1 answer
60 views

create observables dynamically and show it in html ,knockout?

HTML :- <div class="row" style="margin-left: 10px;" data-bind="foreach: {data: data, as: 'data1'}"> <span style="color: red; display: none;" data-bind=...
raj's user avatar
  • 11
0 votes
1 answer
41 views

Disable a textarea in a for loop of textareas using JQuery/Typescript and KnockoutJS

So I have a for loop that will display a list of textareas. Each has a unique id using the KO data-binding attribute, but they all have the same name. What I want to do is use Jquery to either check ...
Juulu's user avatar
  • 3
0 votes
1 answer
45 views

Can't access knockout observable inside confirmation method

I have a bootstrap confirmation that I display to the user. Once the confirmation is clicked I'd like to access the observable array (this.parameters() )that is within the same class under onCancel ...
Seçkin Çelik's user avatar
1 vote
1 answer
51 views

Isuse in binding date value to date input controller - KnockoutJS

I have a date type input controller and trying to bind date value received from api (Json), but it is not binding. able to bind all other text properties/dropdowns etc without any issue. Api property ...
Pradeep H's user avatar
  • 613
0 votes
1 answer
26 views

MVC4: After bundling the JS is not working properly but without bundling the functionality is working fine

MVC4: After bundling the ViewModel JS is not working properly but without bundling the functionality is working fine How to compare the JS libraries loaded in the webpage without bundling and after ...
Rajaguru Prithiviraj's user avatar
0 votes
1 answer
405 views

Custom Validation message is not showing up on the Page

I have a input field of type email on the form which I have to validate the email address entered and show the validation error message when the user tries to navigate to the next page. It just not ...
user4912134's user avatar
  • 1,033
0 votes
1 answer
1k views

Magento 2.4.2: Unable to process binding "ifnot: function(){return customer().fullname }" Message: Unable to parse bindings

The following error is found in the browser console. It appeared after we upgraded Magento application that our ecommerce site is running on. Uncaught SyntaxError: Unable to process binding "...
user avatar
1 vote
1 answer
150 views

Remove duplicates or distinction from array of objects by knockout.js

How to remove duplicates objects from an array by using Knockout.js var ticketgroups = [ {TicketGroup: TicketGroup1, SortOrder: 1}, {TicketGroup: TicketGroup1, SortOrder: 1}, {...
user3774591's user avatar
1 vote
0 answers
30 views

knockout.js Change image source on click

I am having this section in my code <script id="performance-objective-template" type="text/template"> <ul class="node"> <li class="item-container&...
Viet's user avatar
  • 53
-1 votes
1 answer
619 views

How to import jQuery library files in existing application code using npm command

Using a node JS yo ko command I have created a single-page application with Knockout-JS. After that, I installed jquery packages. with the command npm install jquery It is getting successfully ...
Kedar Ghadge's user avatar

15 30 50 per page
1
2 3 4 5
274