Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
modify page data
#8
We have nonce functions ( not really nonces )

getimple.js has a few ways to do messages, most of our ajax stuff is old parse out html response, only the new stuff i add will be json for a while until its converted.

so some use jquery find update blah
some use ajax response and jquery functions
Code:
notifyError('This notification blinks and autocloses').popit(ms speed).closeit(ms delay);

Problem with that is js i18n is not implemented, so your strings will have to be coming from php.

This is how most works, grabs the full page html over ajax, it basically parses them out, but non uniformly and without an actual parser, just copies of the same code here and there.
Code:
                            if ($(response).find('div.error').html()) {
                                $('div.bodycontent').before('<div class="error"><p>' + $(response).find('div.error').html() + '</p></div>');
                                popAlertMsg();
                            }
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
modify page data - by Bertrand - 2014-03-07, 21:08:16
RE: modify page data - by Bertrand - 2014-03-08, 00:21:36
RE: modify page data - by Bertrand - 2014-03-08, 00:53:25
RE: modify page data - by shawn_a - 2014-03-08, 01:05:07
RE: modify page data - by Bertrand - 2014-03-08, 01:11:12
RE: modify page data - by shawn_a - 2014-03-08, 02:07:12
RE: modify page data - by Bertrand - 2014-03-08, 05:20:36
RE: modify page data - by shawn_a - 2014-03-08, 06:31:07
RE: modify page data - by Bertrand - 2014-03-08, 09:01:00
RE: modify page data - by Bertrand - 2014-03-08, 10:17:31
RE: modify page data - by shawn_a - 2014-03-08, 10:22:22



Users browsing this thread: 1 Guest(s)