Questions tagged as 'javascript'

1
answer

Doubt when calling a modal jQuery UI screen passing an HTML page as parameter

I have this code. In the click of lupa.gif , I would call a jquery function and throw a page into it with all parameters passed like this: HTML: <img id='' style='display:; cursor:hand' name='Pesquisa_Contrato' width='16' height='1...
asked by 03.08.2015 / 19:43
1
answer

How to set a value in select that is set with ng-options

My HTML looks like this: <select ng-model="cliente" ng-options="t.value as t.displayName for t in clientes"></select> In the Controller of my JS I have: $scope.clientes // objeto onde tem todos os clientes para alimentar o sel...
asked by 23.05.2015 / 01:40
1
answer

How to view multiple preselected dates in datepicker jquery ui?

My code does not show the dates selected in the calendar, see I have an array of dates but it does not show. <script src="~/Scripts/jquery.js"></script> <script src="~/Scripts/jquery-ui.js"></script> <link href="~/Co...
asked by 08.04.2015 / 03:42
2
answers

Bookmarks in Google Maps

I have a website where you can create bookmarks on the map and assign a category to those bookmarks. I would like each label in each category to have a different image. does anyone know how I do it?     
asked by 24.05.2015 / 15:47
1
answer

IF condition in jQuery

I'm trying to add an IF condition in my jQuery study exercise and I'm having a little problem. The code below creates a short list of tasks and when clicked on top of the div created by jquery it is deleted. var main = function(){...
asked by 09.04.2015 / 04:18
1
answer

Problems with XMLHttpRequest AngularJS

I have a $ http.get request in my application as it can be seen at AngularJS ng-repeat does not return data, returns always empty But I'm getting a Warning in the browser console with the following message: Synchronous XMLHttpRequest on t...
asked by 07.04.2015 / 23:10
1
answer

How to get the number of images in a folder with Javascript / Jquery

I tried to use this function: function getCount(foldername) { var myObject, f, filesCount; myObject = new ActiveXObject("Scripting.FileSystemObject"); f = myObject.GetFolder(foldername); filesCount = f.files.Count;...
asked by 01.06.2015 / 20:13
1
answer

Dynamic Maps in Google Maps

I have a system where people place their addresses. I would like to know how to get an address and make it appear on the maps. Do you understand? Each person in the system will have a page where a map with a mark will appear where the person liv...
asked by 16.03.2015 / 22:28
3
answers

Leave fixed paging using jQuery datatable

I have a table and I'm using datatable of jQuery , however, my table has a lot of column, and I made a scroll in it, but in that my pagination scrolls along with the scroll, would have some way to leave the pagination fixed EXA...
asked by 24.03.2015 / 13:43
1
answer

How to show the '' objectHTMLDivElement "?

I tried to show values that are in a div with a document.getElementById("valor") . I used alert(); command to show what it would bring and it showed in the objectHTMLDivElement window how can I show this? JavaScript $(do...
asked by 17.03.2015 / 15:32