97 Questions

Rashmi
Rashmi
Member
182 Points
36 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: 352
Total Answered: 1
Total Marked As Answer: 1
Posted On: 15-Nov-2021 06:30 
 
Stevan
Stevan
62 Points
26 Posts
I'm try to set content in tinyMCE editor as: textAreatinyMCE.value= 'some text'
Views: 622
Total Answered: 2
Total Marked As Answer: 2
Posted On: 05-Nov-2021 02:37 
 
edx
edx
150 Points
40 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: 494
Total Answered: 1
Total Marked As Answer: 1
Posted On: 25-Sep-2021 04:25 
 
beginer
beginer
270 Points
80 Posts
How to get current page title in JavaScript?
Views: 1278
Total Answered: 3
Total Marked As Answer: 3
Posted On: 11-Sep-2021 23:21 
 
mongo
mongo
6 Points
3 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: 271
Total Answered: 1
Total Marked As Answer: 1
Posted On: 06-Aug-2021 04:10 
 
Priya
Priya
Member
220 Points
50 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: 289
Total Answered: 1
Total Marked As Answer: 0
Posted On: 23-Jun-2021 21:01 
 
Jak
Jak
Member
404 Points
167 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: 779
Total Answered: 1
Total Marked As Answer: 0
Posted On: 21-May-2021 23:52 
 
Jak
Jak
Member
404 Points
167 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: 296
Total Answered: 1
Total Marked As Answer: 0
Posted On: 21-May-2021 23:44 
 
Dev
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: 349
Total Answered: 1
Total Marked As Answer: 1
Posted On: 01-Jan-2021 04:44 
 
beginer
beginer
270 Points
80 Posts
I'm using input control with type=file. But it's accepting all type of file. I want to restrict only image file. How we can achieve this? I'm trying with following code: <input type="file" name="picture1" accept="image/*"> But when try to browse default it's showing only images file but ...
Views: 29066
Total Answered: 3
Total Marked As Answer: 1
Posted On: 17-Feb-2019 01:11 
 
 Log In to Chat