Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
Offline yasir  
#1 Posted : Wednesday, December 28, 2016 9:41:11 AM(UTC)

Rank: Newbie


Groups: Registered
Joined: 12/28/2016(UTC)
Posts: 1

Adding dynamic text on image

I'm making a website that is best wishes for users where they can creat customize logos. For this I need a facility to add dynamic text from text boxes which the user will fill in and the text should then appear on the the selected image. Is there any way, say for Javascript, through which I can fulfill the above scenario? Would appreciate any suggestions of how i could do this.

My HTML so far is:



<input type="text" id="submit"/>

<img src=<?php echo $image; ?> id="toChange" alt="pic" width="60" height="60" />


and my jQuery:

$('#submit').change(function() {

$('#toChange').text( $('#submit').val());


but I haven't been succeed so far.

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.