36 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: 768
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: 1261
Total Answered: 2
Total Marked As Answer: 2
Posted On: 11-Jul-2023 23:10 
 
kikme
kikme
248 Points
12 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: 1365
Total Answered: 2
Total Marked As Answer: 1
Posted On: 23-Jan-2023 22:37 
 
Raj
Raj
648 Points
26 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: 1130
Total Answered: 2
Total Marked As Answer: 1
Posted On: 11-Feb-2022 02:58 
 
beginer
beginer
1544 Points
52 Posts
How to get current page title in JavaScript?
Views: 3778
Total Answered: 3
Total Marked As Answer: 3
Posted On: 11-Sep-2021 23:21 
 
Stevan
Stevan
312 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: 1185
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: 3032
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: 933
Total Answered: 1
Total Marked As Answer: 0
Posted On: 21-May-2021 23:44 
 
Priya
Priya
1194 Points
33 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: 4601
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: 8949
Total Answered: 3
Total Marked As Answer: 2
Posted On: 27-Dec-2018 07:42 
 
 Log In to Chat