Stevan
76
Points
33
Posts
|
I'm input field to enter comment. I has keyDown JavaScript event.
<div class="Comment">Add Comment
<div>
<input onkeydown="javascript:AddComment(event,this,<%=Answer.ID %>)" class="PostInput" type="text" />
</div>
</div>
Its working in Desktop we ...
Views:
198
Total Answered:
2
Total Marked As Answer:
0
Posted On:
08-Apr-2023 00:15
|
Rashmi
248
Points
44
Posts
|
I have following json array object and need to get one item on the basis of some filter:
var array = [
{ name:"string 1", value:"this", other: "that" },
{ name:"string 2", value:"this", other: "that" }
];
How to find an object value in an array of objects?
Views:
544
Total Answered:
1
Total Marked As Answer:
1
Posted On:
15-Nov-2021 06:30
|
Stevan
76
Points
33
Posts
|
I'm try to set content in tinyMCE editor as:
textAreatinyMCE.value= 'some text'
Views:
1835
Total Answered:
2
Total Marked As Answer:
2
Posted On:
05-Nov-2021 02:37
|
edx
164
Points
42
Posts
|
I have following custom code for confirmation dialog as:
$.extend({
confirm: function (title, message, yesText, yesCallback) {
$("<div></div>").dialog({
buttons: [{
text: yesText,
click: function () {
yes ...
Views:
1214
Total Answered:
1
Total Marked As Answer:
1
Posted On:
25-Sep-2021 04:25
|
beginer
342
Points
91
Posts
|
How to get current page title in JavaScript?
Views:
2585
Total Answered:
3
Total Marked As Answer:
3
Posted On:
11-Sep-2021 23:21
|
mongo
12
Points
6
Posts
|
I'm writing mongo db script for data migration. And want to get a value from a collection and then use it in other command in the same db migration script.
I'm trying some thing:
var roleId= '54612sdfd54521'; // Get from roles collection role=default
db.getCollection('users').insertMany ...
Views:
497
Total Answered:
1
Total Marked As Answer:
1
Posted On:
06-Aug-2021 04:10
|
Priya
264
Points
57
Posts
|
Getting access denied issue in local debugging:
Access to embed.rcrsv.io was denied
You don't have authorization to view this page.
HTTP ERROR 403
Views:
704
Total Answered:
1
Total Marked As Answer:
0
Posted On:
23-Jun-2021 21:01
|
Jak
406
Points
168
Posts
|
I'm using jquery ui dialog to show image with few contents:
$("#dvShowContents").dialog({
buttons:
[
{
text: "Cancel",
click: function () {
$(this).dialog("close");
}
}
],
modal: true,
...
Views:
1932
Total Answered:
1
Total Marked As Answer:
0
Posted On:
21-May-2021 23:52
|
Jak
406
Points
168
Posts
|
I want to preview an image before it is uploaded to the server side. The preview action should be executed all in the browser without using any Ajax to upload the image.
How can I achieve it?
Views:
517
Total Answered:
1
Total Marked As Answer:
0
Posted On:
21-May-2021 23:44
|
Dev
14
Points
7
Posts
|
I'm trying following ajax code but no success:
$.ajax({
url: 'https://www.linkedin.com/oauth/v2/authorization?response_type=code',
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
},
type: "GET",
dataType: "json",
data: {
},
success: f ...
Views:
575
Total Answered:
1
Total Marked As Answer:
1
Posted On:
01-Jan-2021 04:44
|