Questions tagged as 'javascript'

2
answers

Sorting li into a div

I need to sort alphabetically a div , I use the following strategy, I put in a div with display: none all li, so after inserting all in html , I while to while it has li in that div it will check wh...
asked by 14.01.2016 / 16:53
1
answer

How to change an attribute, javascript

I'm trying to change the value of an attribute but apparently nothing changes, see the example used: console.log(document.getElementById("stars").offsetTop); // me retorna 83 document.getElementById("stars").offsetTop = 10; console.log(documen...
asked by 14.01.2016 / 20:31
1
answer

How to integrate Jquery.validator and SmartNotification.js plugin?

My question is: How do I integrate the messages in Jquery.Validator () with the modal windows of the SmartNotification.js plugin? I would like, when inputs to enter roles of JQuery validators , a message is displayed via SmartNotificatio...
asked by 02.07.2015 / 06:16
1
answer

Anchor Html + Table

Hello Personally, I have a problem with the anchor HTML inside a website. The anchor works normally when running on content visible on the site. The problem is that I would like to anchor a content within a "Tab" of the bootstrap. Fo...
asked by 02.05.2016 / 16:21
2
answers

How to allow cross-origin requisitions?

I have an Swift App that consumes data from an API, in swift I had to enable it in info.plist adding: <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict&g...
asked by 18.04.2016 / 19:35
1
answer

how to get a value and post it in a modal?

My html looks like this: <a href="#modal" data-toggle="modal" data-id="login">logar</a> I need a php or javascript that makes a post or an onclick that sends the value "data-id = 'login'" to a get inside the modal ..... in the m...
asked by 26.04.2016 / 20:12
2
answers

Problems with sort () and knockoutjs

link I'm having trouble ordering an observableArray of knockoutjs, every time I have to sort the list it gives a revese () effect. Who does this problem solve?     
asked by 11.04.2016 / 11:33
2
answers

Event Button FileUpload with submit Gmail style

I'm using vb.net and asp.net with forms and need to add an event that when clicking the select a file to attach button, when I select the file it automatically saves, without having to have another button to give the submit...
asked by 15.04.2016 / 17:46
1
answer

{} on return from require ()

I'm creating a module, but when I'm going to use it, I get an empty object in require () Codes below: dev / index.js module.exports = () => { 'use strict'; const names = require('./names.js'), findSuperman = require('./f...
asked by 12.04.2016 / 17:06
1
answer

Totvs Fluig - Customization - Call in REST service in the beforeSendData event

Does anyone know how to make a call to a REST service inside the beforeSendData event, below my code (not functional): My goal is to execute a call on a REST service from the fluig itself in order to get the detail of a request (process insta...
asked by 11.11.2015 / 17:50