100 Questions

Raj
Raj
Member
496 Points
21 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: 347
Total Answered: 2
Total Marked As Answer: 1
Posted On: 18-Sep-2023 00:56 
 
Stevan
Stevan
Member
310 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: 668
Total Answered: 2
Total Marked As Answer: 2
Posted On: 11-Jul-2023 23:10 
 
Stevan
Stevan
Member
310 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: 1971
Total Answered: 2
Total Marked As Answer: 0
Posted On: 08-Apr-2023 00:15 
 
Rashmi
Rashmi
Member
820 Points
17 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: 723
Total Answered: 1
Total Marked As Answer: 1
Posted On: 15-Nov-2021 06:30 
 
Stevan
Stevan
Member
310 Points
20 Posts
I'm try to set content in tinyMCE editor as: textAreatinyMCE.value= 'some text'
Views: 2470
Total Answered: 2
Total Marked As Answer: 2
Posted On: 05-Nov-2021 02:37 
 
edx
edx
Member
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: 1573
Total Answered: 1
Total Marked As Answer: 1
Posted On: 25-Sep-2021 04:25 
 
beginer
beginer
Member
1328 Points
43 Posts
How to get current page title in JavaScript?
Views: 3389
Total Answered: 3
Total Marked As Answer: 3
Posted On: 11-Sep-2021 23:21 
 
mongo
mongo
Participant
84 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: 907
Total Answered: 1
Total Marked As Answer: 1
Posted On: 06-Aug-2021 04:10 
 
Priya
Priya
Participant
936 Points
28 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: 914
Total Answered: 1
Total Marked As Answer: 0
Posted On: 23-Jun-2021 21:01 
 
Jak
Jak
Member
858 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: 2491
Total Answered: 1
Total Marked As Answer: 0
Posted On: 21-May-2021 23:52 
 
 Log In to Chat