S Stephan Leith Member Licensed User Longtime User Apr 7, 2015 #1 is it posible to do GetElementById on a apache server running on the same raspberry ?
Erel B4X founder Staff member Licensed User Longtime User Apr 8, 2015 #2 I'm not sure that I understand the question. Are you referring to JavaScript GetElementById? How is it related to the web server? Upvote 0
I'm not sure that I understand the question. Are you referring to JavaScript GetElementById? How is it related to the web server?
rwblinn Well-Known Member Licensed User Longtime User Apr 8, 2015 #3 Same applies for me = not sure I understand the question. But in principle for using GetElementById, create a B4J Server App with a WebSocket. GetElementById is described here, for that. An example project download here = WebApp adding a button Dynamically. Note: You do not need Apache to be setup on the Raspberry Pi, as B4J Servers run autarkic = just run java -jar yourapp.jar, then access via browser with HostAddress : Port. In the latest Raspian versions, Java is by default installed. B4J Server Apps run very well on Raspberry Pi's (based on my experience so far with several apps running for monthes on various Pi's) Upvote 0
Same applies for me = not sure I understand the question. But in principle for using GetElementById, create a B4J Server App with a WebSocket. GetElementById is described here, for that. An example project download here = WebApp adding a button Dynamically. Note: You do not need Apache to be setup on the Raspberry Pi, as B4J Servers run autarkic = just run java -jar yourapp.jar, then access via browser with HostAddress : Port. In the latest Raspian versions, Java is by default installed. B4J Server Apps run very well on Raspberry Pi's (based on my experience so far with several apps running for monthes on various Pi's)