Lazy loading of feedback widget from javascript?
The feedback widget is a little heavy and Amazon S3 performances sometimes are not so great. Is it possible to lazy load this module from javascript?
I tried just doing $,getScript but that does work correctly (entire document ends up being overwritten).
I tried just doing $,getScript but that does work correctly (entire document ends up being overwritten).
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The company marked this question as answered.
-
Inappropriate?Hi Senad,
One of the options you can specify for your widget is a container, into which we will render the required html. By default, we just use document.write, that as you can see overwrites the whole page if it is called after the initial document load.
basically, you just need to specify the id of an element for your container options.
For example:
feedback_widget_options.container = "my_element_id";
Hope that helps,
Scott
The company says
this answers the question
Loading Profile...



EMPLOYEE