Questions tagged as 'javascript'

0
answers

Wordpress compatibility mode

I use wordpress and I need to make this code work. Upei it and to using the firefox debugger to know where the errors are. It already replaces all $ with jQuery , but on line 18 it says that jQueryrainbow.slider is not a func...
asked by 29.08.2017 / 16:19
0
answers

Map showing that it exists without existing

I have a somewhat strange problem, I added a map per kml on the site but then I tried to change that map for another, I noticed that it did not change, I cleared the cache and I did everything but it does not change, then I deleted the kml site...
asked by 30.08.2017 / 15:37
1
answer

Change anchor position on a page

The anchor is the same as image 1. I would like the anchor to be the same as image 2. "I solved" putting the anchor in another div , but can you solve this by HTML / CSS itself or JavaScript?     
asked by 29.08.2017 / 21:24
0
answers

SlideShow - Buttons with Jquery

I have to make a slide with play / pause button, next and previous . On the slide I need to use html, css, java script and my buttons need to be with jquery. The play / pause button I was able to create. But I'm having trouble creating the n...
asked by 29.08.2017 / 21:30
0
answers

Trigger event by name

I get by a function the name of the event and the element that should trigger this event eg: callEvent('click', 'btnEvent') In this function I would like to return the element and trigger the last event return: var elem = document.getE...
asked by 29.08.2017 / 21:54
1
answer

Ui.Router loads / imports JS files, but buttons lose functionality

The template SmartAdmin uses lazyScript to import the JS files, it works, everything is fine, but when I navigate between the pages the Ui buttons, to work. angular.module('app.analytics', ['ui.router']) .config(function($stateProv...
asked by 06.09.2017 / 14:55
3
answers

how to pass a php string by a java script parameter

I'm creating a click counter on the link this way: <a href="#" onclick="return chamarPhpAjax();"></a> That when clicking the link calls the function: function chamarPhpAjax() { var so = ""; var name = ""; $.ajax({...
asked by 06.09.2017 / 04:52
0
answers

Right way to autocomplete

I have the following% auto_complete : $(document).ready(function () { $("#id_cliente").autocomplete({ source: function (request, response) { $.ajax({ url: "/PreVenda/CarregaClientePorId",...
asked by 06.09.2017 / 14:43
3
answers

How to do a delete with Angular 4

I created a class to do a delete of data of a bank but I do not know as I call the same class by Angular 4 in the html code. //Classe Delete deleteClient(client): void { if(this.client.id){ this.clientService.deleteClient(client).t...
asked by 06.09.2017 / 16:21
0
answers

How do you route on Ionic 3 (deep linkings)?

I would like to know how I can do when clicking a custom button, open my page with the route in the browser? Example in the view: <button (click)="sairDaPagina()" class="btn btn-default">Sair</button> My class: import { C...
asked by 06.09.2017 / 15:23