Questions tagged as 'jquery'

1
answer

Edit a contract template with jquery

I would like to know if it is possible to add a contract within a textarea and define some fields that can be changed in this contract. For example: I have {{name}} {{address}} I want to allow the user to drag the name (I already have a sa...
asked by 30.05.2018 / 14:09
2
answers

Capturing URL that is inside a div with Jquery

I have a project where you have several boxes, with an image, and a link. I would like that when I click on the .single-project class I would capture the href value, but I am not getting it. $('.single-project').on('click', function() {...
asked by 30.05.2018 / 14:53
1
answer

Show div and hide the one that was or was previously opened by clicking the

@foreach($user->endereco as $endereco) <table class="table"> <thead class="thead-light"> <tr> <th scope="row">Endereço: {{ $endereco->endereco }}</th> <th scope="row...
asked by 22.07.2018 / 20:21
1
answer

How to add the class "active" according to the page accessed

I have a separate layout in my project, where it is standard for all pages. how to do in the left menu, the active class is activated according to the selected page. I have the html code: <div class="sidebar-sticky"> <ul class...
asked by 27.05.2018 / 22:19
1
answer

Performs the operation but displays error at the end

I have the code below that is taking me seriously. No people are possible! // JavaScript Document// JavaScript Document $(document).ready(function(e) { $("a.excluiFalecimento").click(function() { if (confirm('Deseja Excluir esta N...
asked by 26.05.2018 / 00:17
1
answer

JQUERY - Load in form with editor

It is possible to play text that is misaligned and full of spaces on the left, above and below. Leave it all aligned and no spaces? For example: texto texto texto texto texto and exit like this, all without spaces a...
asked by 25.05.2018 / 19:08
1
answer

Code Repeat for Navbar HTML

Good evening, brothers! I have a website with a navbar stylized and adapted with the colors and symbols of the client. However, since there are several pages, the navbar code is being repeated in all of them, and it is several lines of code. I w...
asked by 12.07.2018 / 02:13
1
answer

Shorten address of a group of elements with jQuery

I have the following code : $("div.conteudo div.administrador form.administradorEdita") What is one form I want to reference a label of it; var form = $("div.conteudo div.administrador form.administradorEdita"); What would it b...
asked by 22.05.2018 / 23:01
1
answer

How to make a datatable data be clickable by calling another view?

Good afternoon, guys. Here is the code for my view, which is working correctly. It happens that I would like to make the process number (2nd <td> ), be clickable by calling another view. Is it possible? View Code: <head>...
asked by 23.05.2018 / 21:42
1
answer

Get JS Variable value and pass to PHP and send by URL

I have the following code below. I want to know if there is a way to send through the URL a variable that was passed from JS to PHP. The code intension is to pass the variable after clicking the button. NOTE: The user will be directed to this...
asked by 23.05.2018 / 16:39