Okay, so I have a canvas, and I want the user to be able to copy an image url and paste it into an input box, that will then set it as the canvas background image.
Does anyone know how I can do this?
I was thinking about using the OnChange method in the text input, but I cannot find any help with that online.
My current Canvas Background is (In <head><script>)
Code:
var imgObg = new Image();
imageObj.src = "images/bg.png";
And my text input is
Code:
<form name="input" action="" method="get">
<input type="text" id="textboxBG" onchange="??" />
<input type="submit" value="Submit" />
</form>
If you need more code, or would like to help me out more in depth, I would gladly paypal you a little money. I know this can't be too difficult! I REALLY want this done!