I'm trying to load the template and the ViewModel into a knockout component using require.js, but so far unsuccessful.
index.html (view)
<!doctype html>
<head>
<link href="assets/css/bootstrap.min.css" rel="stylesheet"...
I've already asked a question I tried all the code that was passing me and nothing, and was marked as duplicate, however as can be seen in the code below does not work as desired.
function DemoItem(id, name) {
var self = this;...
Well, I have a view and I can not show the error messages, the code is very large and put in a summarized form but needs some part I'm editing.
Controller Before it was like this:
if (!ModelState.IsValid)
{
return PartialView("InternalAud...
I have an application that uses Knockoutjs, but when saved it returns some error the button that uses Knockutjs to and does not work, only after refreshing the page does it work properly, does anyone know what it can be.
csHtml
@model Entiti...
I'm making a dynamic map using the Google Maps API that uses the markers to signal a list of pre-defined locations, such as:
self.locations = [{
name: 'Foxtrot',
lat: 38.713905,
lng: -9.1518868,
type: 'Bar'...
I have this Input that is generating via Knockoutjs:
<input type="text" class="req" placeholder="" data-bind="value:Request" />
But I have to check if it is empty and if a specific css is applied:
As many fields can be created the sam...
I have two arrays , where one of them contains integers ( array1 ) and another contains array2 Id , Description and Banners .
I need to find and remove all of the array2 elements that match every array1 integer.
I have tried to use...