Swissmade Well-Known Member Licensed User Longtime User Jan 2, 2015 #1 Hi All. First all the best for this new year 2015. I wondering how I can change a Image with WEBSockets in a Div element on the Page from the Server. The meaning of this is to have one image on the page and if something is changing the server has to send a new image to the same Div. id = wsimg Jquery and replace the old image. I hope somebody can help with this. Many thanks in advance. [SOLVED] Just with try something I get it to work. Just use wsimg.SetProp("src", "images/logo.png") Last edited: Jan 2, 2015
Hi All. First all the best for this new year 2015. I wondering how I can change a Image with WEBSockets in a Div element on the Page from the Server. The meaning of this is to have one image on the page and if something is changing the server has to send a new image to the same Div. id = wsimg Jquery and replace the old image. I hope somebody can help with this. Many thanks in advance. [SOLVED] Just with try something I get it to work. Just use wsimg.SetProp("src", "images/logo.png")