Message from JavaScript discussions

July 2017

— No docs for methods, only a tiny tiny handful of random comments stating the obvious... and tons of really bulky jQuery code that is so granular it is a pain to read through (that FP interface is a bittersweet thing for code density)

Message permanent page


All I did was look at their template tagging system (with data attrs) and came up with my own ways of doing it without jQuery, so I never really dove into the source code

— Guys

— I have this function

$(document).ready(function() {

— This is to call a json and append it to a list, its was a success

— But the problem come when i click my menu tab to other tab, and back to the first tab where that function called

Message permanent page

— If i do it (open other tab and back to the first tab) the function wasn't called back

— Any idea how to fix this ?

— Err, case solved guys, sry to bother u guys

— Heh, weird case

— $(document).ready(...) fires when the page is done loading, so the only way to re-trigger that event is to reload the page, or globalize the function

Message permanent page


function onload() {
// do stuff