Questions tagged as 'jquery'

1
answer

Close menu when clicking on another

I have the following MENU: <div id="menu"> <img style="position: relative;right:45px;bottom:39px" src="<?= base_url('assets/img/menu-topo.png') ?>" width="340px"/> <div style="position:absolute;width:100%;float:rig...
asked by 09.01.2017 / 11:45
3
answers

Problem with JS / JQuery / JSON / AJAX

I'm having some problems with JSON in my application and wanted to see if you guys can help me, please. The situation is as follows: I have a method in my controller that looks for some items: @RequestMapping(value = "/buscaTodosCardapio...
asked by 23.01.2017 / 17:56
1
answer

ENTER key save table instead of space

I have the following table that lets you edit directly on the grid: Hercodes:  MySQLtableCREATETABLEIFNOTEXISTS'php_interview_questions'('id'int(8)NOTNULL,'question'textNOTNULL,'answer'textNOTNULL,'row_order'int(8)NOTNULL)INSERTINTO'php_inte...
asked by 20.01.2017 / 12:53
2
answers

Prevent multiple clicks on submit!

I have a form that registers the name of the person in a database via ajax, however sometimes it takes time to send and returns and I give 2 or 3 clicks it sends the same data! I wanted to know how to prevent this, I tried: <script>...
asked by 05.12.2016 / 13:15
2
answers

Center div within scroll

I have a parent div that has scroll enabled and a width limit, underneath it I have another div with content. I want to centralize this content in relation to the parent div so that the content is centralized, note: <div class="scroll"&g...
asked by 20.01.2017 / 13:26
2
answers

Div positioning with jquery

Well, with the help of some people here in the stack I'm modifying my tooltip system, it's almost ready, but I'm having a problem. When I use very large text in the 'masterTooltip-left' class of the tooltip bug, it does not line up correctly...
asked by 06.12.2016 / 19:10
2
answers

Alternative to marquee with event that triggers when finished

The marquee has been deprecated and the alternative is to implement a css to perform the same text scrolling effect, which is valid. But there was a need to get the moment when the scrolling of the text comes to an end, an event...
asked by 07.12.2016 / 12:50
1
answer

Post in two tables simultaneously in AJAX

The code below it is working, however my question is: Is there any way to do a post on two different addresses simultaneously using that same code without repeating it? For example, in the code below I insert data into a table, but there are...
asked by 03.02.2017 / 12:52
1
answer

How to add mascara in the input ajax via jquery?

Hello everyone, I have a function that edits the table dynamically, but the data contained in it has formatting coming from the database, but when I double click it it does not remain with the mask. the table coming from the bank is this Icanedi...
asked by 03.02.2017 / 15:03
1
answer

How to use an ajax return in any part of the script?

I have a Json that is returned via ajax, I wanted to be able to manipulate this return throughout my script, out of the scope of Ajax, so I do not have to do a function that does everything within that scope. That way it's working, but it does n...
asked by 05.02.2017 / 02:07