dialog box mentions below textareahow to implement a pop up dialog box in iOSAndroid: Dialog box disappears immediatelyDialog box crashes Android servicepopup dialog box in wordpress page?jQuery UI dialog box manual closePlacing a div inside a dialog boxDialog box prevents background eventsJava GUI Dialog box hyperlinkClose Jquery Modal Dialog box when click outsideWarning Dialog Box in MATLAB
Can I legally make a real mobile app based on a fictional app from a TV show?
'sudo apt-get update' get a warning
Is refreshing multiple times a test case for web applications?
In a topological space if there exists a loop that cannot be contracted to a point does there exist a simple loop that cannot be contracted also?
Why did the RAAF procure the F/A-18 despite being purpose-built for carriers?
Was the 2019 Lion King film made through motion capture?
Why did Gandalf use a sword against the Balrog?
Is TA-ing worth the opportunity cost?
Am I overreacting to my team leader's unethical requests?
Acceptable to cut steak before searing?
Max Order of an Isogeny Class of Rational Elliptic Curves is 8?
What is the maximum number of PC-controlled undead?
Best gun to modify into a monsterhunter weapon?
How can I iterate this process?
What's this thing in a peltier cooler?
Dropdowns & Chevrons for Right to Left languages
Is it really ~648.69 km/s delta-v to "land" on the surface of the Sun?
Team goes to lunch frequently, I do intermittent fasting but still want to socialize
How do I explain to a team that the project they will work on for six months will certainly be cancelled?
In reversi, can you overwrite two chips in one move?
Blocking people from taking pictures of me with smartphone
Do other countries guarantee freedoms that the United States does not have?
Why couldn't soldiers sight their own weapons without officers' orders?
When do triples have been called monads for the first time?
dialog box mentions below textarea
how to implement a pop up dialog box in iOSAndroid: Dialog box disappears immediatelyDialog box crashes Android servicepopup dialog box in wordpress page?jQuery UI dialog box manual closePlacing a div inside a dialog boxDialog box prevents background eventsJava GUI Dialog box hyperlinkClose Jquery Modal Dialog box when click outsideWarning Dialog Box in MATLAB
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have a textarea, I entered a script that allows me to mention it through @ I mention users, I have a problem, in div that opens the user list, I plot it under the textarea:
https://imgur.com/FwJ6alE
as you see is below, how can I find a solution to make that div appear on the textarea under the text you are typing? example
https://imgur.com/DONSCSB
this is the textarea
<div class="emojionearea-editor" contenteditable="true" placeholder="A cosa stai pensando?" tabindex="0" dir="ltr" spellcheck="false" autocomplete="on" autocorrect="on" autocapitalize="off"></div>
this is the dialogue window
<div class="jmentions-dropdown"></div>
this is the script that recalls the data of the db
window.onload = function()
$('.emojionearea-editor').jMentions(
source: function(prefix)
var dfd = jQuery.Deferred(),
filteredUsers = [];
var users = $.get('mention.php?elm=' + prefix , function(data)
data.forEach(function(elm)
if (elm.value.toLowerCase().indexOf(prefix.toLowerCase()) != -1)
filteredUsers = filteredUsers.concat(elm);
)
dfd.resolve(filteredUsers);
)
return dfd.promise();
);
;
how do i solve?
popup
add a comment |
I have a textarea, I entered a script that allows me to mention it through @ I mention users, I have a problem, in div that opens the user list, I plot it under the textarea:
https://imgur.com/FwJ6alE
as you see is below, how can I find a solution to make that div appear on the textarea under the text you are typing? example
https://imgur.com/DONSCSB
this is the textarea
<div class="emojionearea-editor" contenteditable="true" placeholder="A cosa stai pensando?" tabindex="0" dir="ltr" spellcheck="false" autocomplete="on" autocorrect="on" autocapitalize="off"></div>
this is the dialogue window
<div class="jmentions-dropdown"></div>
this is the script that recalls the data of the db
window.onload = function()
$('.emojionearea-editor').jMentions(
source: function(prefix)
var dfd = jQuery.Deferred(),
filteredUsers = [];
var users = $.get('mention.php?elm=' + prefix , function(data)
data.forEach(function(elm)
if (elm.value.toLowerCase().indexOf(prefix.toLowerCase()) != -1)
filteredUsers = filteredUsers.concat(elm);
)
dfd.resolve(filteredUsers);
)
return dfd.promise();
);
;
how do i solve?
popup
add a comment |
I have a textarea, I entered a script that allows me to mention it through @ I mention users, I have a problem, in div that opens the user list, I plot it under the textarea:
https://imgur.com/FwJ6alE
as you see is below, how can I find a solution to make that div appear on the textarea under the text you are typing? example
https://imgur.com/DONSCSB
this is the textarea
<div class="emojionearea-editor" contenteditable="true" placeholder="A cosa stai pensando?" tabindex="0" dir="ltr" spellcheck="false" autocomplete="on" autocorrect="on" autocapitalize="off"></div>
this is the dialogue window
<div class="jmentions-dropdown"></div>
this is the script that recalls the data of the db
window.onload = function()
$('.emojionearea-editor').jMentions(
source: function(prefix)
var dfd = jQuery.Deferred(),
filteredUsers = [];
var users = $.get('mention.php?elm=' + prefix , function(data)
data.forEach(function(elm)
if (elm.value.toLowerCase().indexOf(prefix.toLowerCase()) != -1)
filteredUsers = filteredUsers.concat(elm);
)
dfd.resolve(filteredUsers);
)
return dfd.promise();
);
;
how do i solve?
popup
I have a textarea, I entered a script that allows me to mention it through @ I mention users, I have a problem, in div that opens the user list, I plot it under the textarea:
https://imgur.com/FwJ6alE
as you see is below, how can I find a solution to make that div appear on the textarea under the text you are typing? example
https://imgur.com/DONSCSB
this is the textarea
<div class="emojionearea-editor" contenteditable="true" placeholder="A cosa stai pensando?" tabindex="0" dir="ltr" spellcheck="false" autocomplete="on" autocorrect="on" autocapitalize="off"></div>
this is the dialogue window
<div class="jmentions-dropdown"></div>
this is the script that recalls the data of the db
window.onload = function()
$('.emojionearea-editor').jMentions(
source: function(prefix)
var dfd = jQuery.Deferred(),
filteredUsers = [];
var users = $.get('mention.php?elm=' + prefix , function(data)
data.forEach(function(elm)
if (elm.value.toLowerCase().indexOf(prefix.toLowerCase()) != -1)
filteredUsers = filteredUsers.concat(elm);
)
dfd.resolve(filteredUsers);
)
return dfd.promise();
);
;
how do i solve?
popup
popup
asked Mar 27 at 7:36
Sias CostantinoSias Costantino
63 bronze badges
63 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55371972%2fdialog-box-mentions-below-textarea%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55371972%2fdialog-box-mentions-below-textarea%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown