|
I can see how to pass data to the server, but how do I pass data from server to client?
For example, I can parse the bullets on the server side, but how do I pass an array to the client side?
Or, I have a chunk of html code on the luan server side, how do I pass the chunk to the client side?
The luan code will be like this:
function calls.workSub()
...
local summaryBullets = getHtmlOrArray ()
%>
workSubClientSide(<%=i%>, "<%=jobtitle%>", "<%=company%>", "<%=location%>", "<%=fromYear%>", "<%=fromMonth%>", "<%=toYear%>", "<%=toMonth%>", "<%=summaryBullets%>");
<%
end
|