100 Questions

Raj
Raj
648 Points
26 Posts
Here i'm trying to do linking in a page as: <div id="CommentAnchor" class="Comment"> <a id="anchorCommentAnchor" href="#CommentAnchor"></a> </div> Here trying dynamically click event: $('#anchorCommentAnchor').click(); But its not working. How to trigg ...
Views: 725
Total Answered: 2
Total Marked As Answer: 1
Posted On: 18-Sep-2023 00:56 
 
Stevan
Stevan
312 Points
20 Posts
I have img tag with base64 string as: <img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ------------"> on button click wan to download image: <button class="btn" onclick="downloadImage();"><i class="fa fa-download"></i> download</button> How do I download image ...
Views: 1168
Total Answered: 2
Total Marked As Answer: 2
Posted On: 11-Jul-2023 23:10 
 
Stevan
Stevan
312 Points
20 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: 2668
Total Answered: 2
Total Marked As Answer: 0
Posted On: 08-Apr-2023 00:15 
 
Rashmi
Rashmi
1068 Points
19 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: 967
Total Answered: 1
Total Marked As Answer: 1
Posted On: 15-Nov-2021 06:30 
 
Stevan
Stevan
312 Points
20 Posts
I'm try to set content in tinyMCE editor as: textAreatinyMCE.value= 'some text'
Views: 3051
Total Answered: 2
Total Marked As Answer: 2
Posted On: 05-Nov-2021 02:37 
 
edx
edx
506 Points
24 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: 1949
Total Answered: 1
Total Marked As Answer: 1
Posted On: 25-Sep-2021 04:25 
 
beginer
beginer
1544 Points
52 Posts
How to get current page title in JavaScript?
Views: 3732
Total Answered: 3
Total Marked As Answer: 3
Posted On: 11-Sep-2021 23:21 
 
mongo
mongo
170 Points
8 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: 1106
Total Answered: 1
Total Marked As Answer: 1
Posted On: 06-Aug-2021 04:10 
 
Priya
Priya
1194 Points
33 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: 1095
Total Answered: 1
Total Marked As Answer: 0
Posted On: 23-Jun-2021 21:01 
 
Jak
Jak
908 Points
132 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: 2991
Total Answered: 1
Total Marked As Answer: 0
Posted On: 21-May-2021 23:52 
 
 Log In to Chat