I am using IntroJs currently and using the JSON to call the introjs. Is it possible to store data/text/info in database and using JSON to retrieve it from the database?
<h2 id="welcomeMsg">Welcome back,<asp:Label ID="lbl_WelcomeName" runat="server" Text="Label"></asp:Label> !</h2>
<script type="text/javascript">
function startIntro() {
var intro = introJs();
intro.setOptions({
steps: [
{
element: '#welcomeMsg',
intro: "Welcome Message. <br /> <a onclick='this.firstChild.play()'><audio src='Audio/WelcomeBack.wav'></audio><font style='font-size:24px'>▸</font> Play Audio</a>"
}
Here is how's my code like, I want to make it such that intro: "(Retrieve from database here)";