Bind to Dynamic HTML loaded by JQuery

69 views
Skip to first unread message

msta...@gmail.com

unread,
May 2, 2012, 9:34:48 PM5/2/12
to knock...@googlegroups.com

Ive only been using JS for about 2 weeks, and KO for a few days. I come from  C/C++/PHP/HTML/Perl/Java... Seriously should have gotten into JS 10 years ago and been paid for it when it was but a tiny twig.. Stupid me for declining..

KO Seems to have everything that I will need with fairly easy access... Well 2.1.0 will (yay $index).

I have read a lot of similar questions and answers and god knows how much else...

What I need is a Single Page App that will load pages via JQuery. These pages will come based on user permissions either from a direct php file or passed through from a database, and possibly both. This is a need, because the html can change and get reloaded during run time based on ever changing permissions

So,the question I have is how to do this?
From what I can tell templates can do this, sorta? But I have not found an example that does. Or at least one that I understand how it works...

The only other way I know is to put in EVERY possibility for EVERY page and hide/unhide as needed... Seriously not happening...

JSFiddle
http://jsfiddle.net/mstange42/tRmkL/2/

Full Dev
https://antiverse.isa-geek.net/tfcapp/
Specifically working on Records -> Search
Reply all
Reply to author
Forward
0 new messages