Hi
i have a popup function thats works by calling it with maybe sAlert(‘hello’)
Then it will make a popup and in that popup i will get the word hello.
the function is called sAlert(str).
Is ot posible to say that str = a multiview !?
Lets sat that i have a code like that get a record from a db and depending on the value then i call a multiview like this
If blnNoRecords Then MultiView1.ActiveViewIndex = 0 ElseIf intStatus = 0 Then MultiView1.ActiveViewIndex = 1 Else MultiView1.ActiveViewIndex = 2 End If
its works, but now i want to show the multiview in the sAlert, how can i set the str = my multiview !?
right now i use this to show the sAlert(‘hello’) in my str from sAlert(str)
document.body.appendChild(msgObj); document.getElementById("msgDiv").appendChild(title); var txt = document.createElement("p"); txt.style.margin = "1em 0" txt.setAttribute("id", "msgTxt"); txt.innerHTML = str; document.getElementById("msgDiv").appendChild(txt);