36 Questions

Raj
Raj
606 Points
25 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: 480
Total Answered: 2
Total Marked As Answer: 1
Posted On: 18-Sep-2023 00:56 
 
Stevan
Stevan
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: 814
Total Answered: 2
Total Marked As Answer: 2
Posted On: 11-Jul-2023 23:10 
 
kikme
kikme
236 Points
11 Posts
I have input html field with type radio as follow: <li> <input id="rdbQA_1" type="radio" name="AnswerOptionIsCorrect" /> <label for="rdbQA_1">Answer 1</label> </li> <li> <input id="rdbQA_2" type="radio" name="AnswerOptionIsCorrect" /> < ...
Views: 1069
Total Answered: 2
Total Marked As Answer: 1
Posted On: 23-Jan-2023 22:37 
 
Raj
Raj
606 Points
25 Posts
I have following html code for unordered list: <div id="menu-header"> <ul class="tabs"> <li><a href="/customer/view"><span class="tab">Profile</span></a></li> <li><a href="/customer/edit"><span class="tab">Edi ...
Views: 936
Total Answered: 2
Total Marked As Answer: 1
Posted On: 11-Feb-2022 02:58 
 
beginer
beginer
1512 Points
51 Posts
How to get current page title in JavaScript?
Views: 3542
Total Answered: 3
Total Marked As Answer: 3
Posted On: 11-Sep-2021 23:21 
 
Stevan
Stevan
310 Points
20 Posts
I'm using following code to load jcrop as: $('#cropImage').Jcrop({ setSelect: [selectX, selectY, selectW, selectH], aspectRatio: 1, minSize: [selectW, selectH], maxSize: [selectW * 4, selectH * 4], ...
Views: 1026
Total Answered: 1
Total Marked As Answer: 1
Posted On: 03-Jul-2021 23:38 
 
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: 2687
Total Answered: 1
Total Marked As Answer: 0
Posted On: 21-May-2021 23:52 
 
Jak
Jak
908 Points
132 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: 801
Total Answered: 1
Total Marked As Answer: 0
Posted On: 21-May-2021 23:44 
 
Priya
Priya
1086 Points
29 Posts
I'm trying to fix position of a div with respect to a parent div as: <div id="one"> Some Text!Some Text! Some Text! Some Text! Some Text!Some Text!Some Text! Some Text! Text! Text! Some Text! Some Text! <div id="two"></div> </div> and style: #one { ...
Views: 4426
Total Answered: 1
Total Marked As Answer: 1
Posted On: 28-Dec-2019 06:46 
 
Erik
Erik
12 Points
1 Posts
In html table we can set cellspacing, cellpadding and border like this <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td></td> </tr> </table> How we can set through css?
Views: 8769
Total Answered: 3
Total Marked As Answer: 2
Posted On: 27-Dec-2018 07:42 
 
 Log In to Chat