94 Questions

beginer
beginer
242 Points
71 Posts
How to get current page title in JavaScript?
Views: 101
Total Answered: 3
Total Marked As Answer: 0
Posted On: 11-Sep-2021 23:21 
 
mongo
mongo
4 Points
2 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: 151
Total Answered: 1
Total Marked As Answer: 1
Posted On: 06-Aug-2021 04:10 
 
Priya
Priya
Member
156 Points
43 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: 125
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: 218
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: 168
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: 205
Total Answered: 1
Total Marked As Answer: 1
Posted On: 01-Jan-2021 04:44 
 
beginer
beginer
242 Points
71 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: 25122
Total Answered: 3
Total Marked As Answer: 1
Posted On: 17-Feb-2019 01:11 
 
Jak
Jak
Member
404 Points
167 Posts
I'm using 'vuejs-dialog' to open confirmation box. And I'm following  https://www.npmjs.com/package/vuejs-dialog I'm try to use following code in vuejs i.e on ts file: // Trigger an Alert dialog this.$dialog.alert('Request completed!') .then(function (dialog) { console.log('C ...
Views: 8982
Total Answered: 0
Total Marked As Answer: 0
Posted On: 21-Sep-2018 02:26 
 
kikme
kikme
34 Points
12 Posts
I'm using jquery autocomplete as: .autocomplete({ source: function (request, response) { response($.ui.autocomplete.filter( data, extractLast(request.term))); }, multiselect: true, selectedControlId: 'txtKeyword_NewQuestio ...
Views: 11053
Total Answered: 2
Total Marked As Answer: 0
Posted On: 12-May-2018 22:07 
 
beginer
beginer
242 Points
71 Posts
I am getting javascript error ReferenceError: requestedCode is not defined requestedCode is a javascript variable of type string. I want to check if this variable is defined or not but I unable to do that. if(requestedCode){ console.log('not defined') } //Or if(requestedCode == null ...
Views: 9256
Total Answered: 2
Total Marked As Answer: 2
Posted On: 16-Jan-2018 03:45 
 
 Log In to Chat