javascript - Ajax calls to the server from canvas tag? -
i have rails server has page canvas tag containing images , user interface. objects inside canvas have on mouse click events assigned. wonder if it's possible execute ajax calls on clicking item processing data inside ruby on rails server , comeback canvas changing objects there inside? removing or changing state etc? once canvas initialized looks can't access objects inside anymore. i'm not quite profi in html5 :(
any advice appreciated,
thanks
canvas image created programmatically, therefore if want specific regions of canvas clickable suggestion position html element ovetop of canvas on higher zindex. example bind click event div tag , when response server update canvas.
Comments
Post a Comment