91 Questions

Jak
Jak
Member
398 Points
164 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: 68
Total Answered: 1
Total Marked As Answer: 0
Posted On: 21-May-2021 23:52 
 
Jak
Jak
Member
398 Points
164 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: 53
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: 129
Total Answered: 1
Total Marked As Answer: 1
Posted On: 01-Jan-2021 04:44 
 
beginer
beginer
236 Points
68 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: 23256
Total Answered: 3
Total Marked As Answer: 1
Posted On: 17-Feb-2019 01:11 
 
Jak
Jak
Member
398 Points
164 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: 8890
Total Answered: 0
Total Marked As Answer: 0
Posted On: 21-Sep-2018 02:26 
 
kikme
kikme
32 Points
11 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: 10649
Total Answered: 2
Total Marked As Answer: 0
Posted On: 12-May-2018 22:07 
 
beginer
beginer
236 Points
68 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: 9150
Total Answered: 2
Total Marked As Answer: 2
Posted On: 16-Jan-2018 03:45 
 
ethan k
ethan k
2 Points
1 Posts
I want to pass the unique userId from a list of user a logged in user clicks on to twitter bootstrap modal popup. I am using grails with angularjs, where data is rendered via angularjs. <div ng-controller="ModalDemoCtrl"> <table> <tr ng-repeat="user in result.users"> ...
Views: 17065
Total Answered: 1
Total Marked As Answer: 0
Posted On: 15-Jan-2018 00:29 
 
nik
nik
Member
40 Points
10 Posts
I have with iframe as: <iframe id="myIframe"></iframe> In the iframe I have hidden field as <input id="hdnSelected" name="hdnSelected" type="hidden" value="myhiddenvalue" /> I want the value of this hidden input field on parent page.
Views: 10879
Total Answered: 2
Total Marked As Answer: 0
Posted On: 08-Jan-2018 03:16 
 
beginer
beginer
236 Points
68 Posts
I have a customizable/dynamic form element on a page from a library. I want to see what javascript events are fired when I interact/click with it because I am trying to find out which event handler to use. How do I do that using Chrome Web Developer?
Views: 8952
Total Answered: 1
Total Marked As Answer: 0
Posted On: 14-Nov-2017 04:24 
 
 Log In to Chat