• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Adding dynamic text on image for my website ?

New Here ,
Jan 28, 2017 Jan 28, 2017

Copy link to clipboard

Copied

I’m making a Website for users where they can create 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:

<html>

<body>

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

id=”toChange” alt=”pic” width=”60″ height=”60″ />

</body>

and my jQuery:

$(‘#submit’).change(function() {

$(‘#toChange’).text( $(‘#submit’).val());

});

but I haven’t been succeed so far.

Message was edited by: Talha Rasheed

Views

1.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 11, 2017 Feb 11, 2017

Copy link to clipboard

Copied

LATEST

More than likely you will need server-side script and possibly a database to store data.   I don't believe you can do this entirely with JavaScript. 

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines