Questions tagged as 'javascript'

1
answer

How to update the view after changing the database with IONIC 2

I'm developing an application with IONIC 2 where I use a webservice REST, of an application that is running online. In the page opening, I make the request and display information correctly on the screen, however, when an item is inserted or cha...
asked by 27.05.2016 / 19:18
1
answer

Running complex JSON structure with java Script

Hello, I'm starting now in the javascript world, I would need help to go through the following json structure: Ineedto,forexample,incrementacounterwhenthe"win" field is set to "true", I need to store the value contained in certain fields as...
asked by 28.05.2016 / 16:14
1
answer

Dynamic Request between development environment and Production

I would like to know how to resolve the request problem between a local and production environment. Example: I have a JS function that takes the context of the application and concatenates it with the request. var ctx = window.location.p...
asked by 17.05.2016 / 16:04
1
answer

Bootstrap + sortable with JQuery, problem with helper

I'm using a bootstrap template to do a little tutorial. In it, I've added two sortable connected list areas, available in JQuery. The ul's with the elements of the lists are with overflow-y: scroll attribute, for when the quantity...
asked by 18.05.2016 / 02:44
1
answer

Get path using the user's location to the default Marker (javascript google-mapsv3)

I am using the answer that is in the question of the following link: question And I do not understand what I need to put in the line below where the comment is: map = new google.maps.Map( /*creates Map variable*/ document.getElementById("...
asked by 18.05.2016 / 16:46
1
answer

Modifying css / js links with Grunt after concatenating and minifying

I'm using Grunt in my project, I can concatenate them and minify them as desired. However I need to change the links on my page to the minified files. For example: From: <head> <script src="js/arquivo1.js"></script>...
asked by 18.05.2016 / 21:47
2
answers

Make IFRAME or EMBED dynamic get attribute of the clicked link

Which way an IFRAME or EMBED can be dynamically created with a HREF attribute clicked at that moment, opening > object with its URL of that link on which it was clicked. Code <body> <a href="http://pt.stackoverflow.com/q...
asked by 07.06.2016 / 18:18
1
answer

Give an alternative right-click lock on an image [duplicate]

What forms can hide the path of an image if the user clicks on it right-click ?     
asked by 08.06.2016 / 03:20
1
answer

I need an if that changes the mask of an input

Hello, I have a php mysql code, and I need help, the code is ready, I just have the option to edit the data, that's what I need help with, I'll explain what's happening, I have my code has three inputs, the first asks what will be edited the seco...
asked by 28.04.2016 / 16:09
1
answer

How to insert cookie in this code

People I have a code that makes a link stay green for 10 seconds and then it turns blue, the only problem is that if I refresh the page within 10 seconds it comes back all over again. So I wanted to know how to make the action continue where it...
asked by 02.05.2016 / 16:27