jQuery: $(elem).load(f filename);

0 Sampan Verma · May 29, 2015
jQuery load function is not able to load DOM correctly.

When I load contents of some file into my html document, it loads!
But the javaScript doesnt work on. those elements which are loaded from the other file.

Post a Reply


Oldest  Newest  Rating
0 Sampan Verma · May 29, 2015
try going to moderngames.ml/dashboard     .

then move the app by holding its titlebar to the center.
then open the frequent menu and choose News.
you will see that the app is again aligned to top left as it was before   (why? -- you might say:): dont mind that you opened up a new app thats why)

This new app is loaded from new file. You will see that appid changes to 2 in html(if you inspect the newly opened app)

Try moving to it center(the whole code is same).
But rather than moving it will only select text. Please find fix for this
0 Sampan Verma · May 31, 2015
really noone
  • 1



A scripting language that is added to standard HTML to create interactive effects, apps, games for the browser.