Questions tagged as 'jquery'

1
answer

Open and close div with jQuery slideToggle feature

I have the following structure: <div class="menu-item"> <div class="botão"></div> <div class="sub-item></div> </div> <div class="menu-item"> <div class="botão"></div> <div class=...
asked by 07.05.2018 / 22:17
1
answer

Replace in 'contenteditable' does not throw the pointer to the end

I'm trying to give a replace in contenteditable , it replaces but does not throw the pointer to the end, it always keeps on startup. I did not know contenteditable yet and found nothing 'simple' that works. The same example in element...
asked by 11.05.2018 / 11:33
2
answers

Modify href attribute via jQuery

I need to know how do I change the links and images of a page via jQuery. I have to do dynamic updates on a page and I need to create a script for this, which changes images and links. Example: <a href="link1"> <img src="imagem1...
asked by 11.05.2018 / 14:55
0
answers

php query postgresql with return in ajax

I want to make a php / postgresql query and return the values in a form already filled with ajax, so that there is no page refresh where I can edit the information and update in the database. I can bring the form but the input comes empty. On...
asked by 11.05.2018 / 15:07
1
answer

Problems using getJSON to load Json from php page

The integer is to get the result of a select, assign in an array, and put its value in an html element. the value is listed and assigned to the array, however, I can not insert it into my html my jquery that does this <script type="text/jav...
asked by 15.05.2018 / 01:53
1
answer

Put time (minute: second) in the graphic Flot

I'm trying to put the seconds on the x axis, because the update is every 3 seconds. I've already figured out that to set the range, just put this data xaxis : { minTickSize : [ 3, "second" ], min : 0, ma...
asked by 08.05.2018 / 18:15
0
answers

Datepicker update dates according to return from an ajax

I want to display a calendar with only a few dates enabled, I make an ajax request that returns an array with the date I want to enable, the function I have today is similar to this example here in Fiddle , just that the values of the array *...
asked by 04.05.2018 / 14:48
1
answer

go to the next div by deleting another element

I have the following HTML structure: <div class="slider"> <div class="slide fade ativa"> <img src="_img/_banner/_site/bg_1.jpg" /> <span>Este é 1</span> </div> <div class="slide fade"> <img sr...
asked by 04.05.2018 / 14:08
0
answers

Checklist attached to a category to later store it in another table

I have the following situation, I need to bring in my view the checklist (tbl_sistema_categoria_atendimento_checklist) that the user has registered for a certain category, the checklist should only be shown on the screen if the user selects a ca...
asked by 05.05.2018 / 22:04
0
answers

Error at the end of the Slide Show loop

Hello, I'm trying to illustrate the dynamics of a slide show. And for that, I decided to try to develop one myself. Reading some explanations here from the forum could move forward. But I came across some difficulties. My slide, when it arriv...
asked by 03.05.2018 / 19:52