Multiple ViewModel with Knockout.js
Great article in having multiple views within one page
http://blog.yojimbocorp.com/2012/02/14/multiple-view-models-with-knockout/
Great article in having multiple views within one page
http://blog.yojimbocorp.com/2012/02/14/multiple-view-models-with-knockout/
AI engineer and solution architect in Sydney. Agents, MCP, RAG, Azure, .NET, EV charging. I write about what breaks after go-live.
This is a function to capture querystring in javascript. I used this javascript to control my menu dynamically. function getQueryString(strParamName){ var strReturn = “”; var strHref = window.location.href; if ( strHref.indexOf(“?”) > -1 ){ var strQueryString…
I need to make a text box that does not allow the user to type any numeric key at all // function to only allow numeric key presses in a textbox // this doesn’t stop pasting…
Knockout allows you to bind the HTML to your javascript object. It simplifies DOM manipulation and allow the portability of the javascript object and action. It is pretty much the same concept as MVVM in silverlight.…
I keep getting this message “an activex control on this page might be unsafe to interact with other parts of the page. do you want to allow this interaction” when I try to access a page…
This might be useful for web developer which wants to have one key event handler that compatible with all browsers. document.onkeyup = KeyCheck; function KeyCheck(e) { //this is used for cross browser var KeyID = (window.event)…
I believe this will be useful for everyone who wants to implement AJAX manually and make it compatible cross browser. // cross-browser method to retrieve an XMLHttp object for asynchronous requests & responses function GetHTTPRequest() {…