Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7915667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T14:32:00+00:00 2026-06-03T14:32:00+00:00

yesterday i got answer how to make divs with different id’s. But those divs

  • 0

yesterday i got answer how to make divs with different id’s. But those divs need to be dragable and resizable. I did this with jqueryUI, but i cant find way to implement it in next piece of code (so, to every generated div, it need to bi added .resizable and dragable):

var c = 0;
$('#add_txt').on('click', function(){
    $('#vk_main').append('<div id="vk_text_'+ (c++) +'">TEST</div>');
});

So, for every div “vk_text_somenumber”, must be assigned attributes: .draggable().resizable(); . I tried to do this, but all i got is #vk_main dragable and nothing else.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T14:32:01+00:00Added an answer on June 3, 2026 at 2:32 pm
    var c = 0;
    $('#add_txt').on('click', function(){
        var $div = $('<div id="vk_text_'+ (c++) +'">TEST'+c+'</div>');
        $('#vk_main').append($div);
        $div.draggable();
        $div.resizable();
    });​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I asked this question yesterday got a pretty good answer but can't figure out
I asked a question yesterday which got answers but didnt answer the main point.
Yesterday, I asked this question and never really got an answer I was really
this is a rephrasing of a question I posted yesterday. I got an answer
So I posted this ! yesterday and got a perfect answer, which required running
OK, so I opened up this question yesterday and got an answer fairly quickly.
I asked some similar questions [1, 2] yesterday and got great answers, but I
I'm sure my app worked right until yesterday, when I got this error: Failed
This is a expansion on to a previous question that got answered yesterday, which
Well i been fighting with this all yesterday and today, i got a simple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.