Questions tagged as 'jquery'

3
answers

Detect text inside a special character and convert it into a PHP function

You can go through a textarea to detect a text within the [text] character and transform it into a PHP ? Summarizing: 1. Go through a textarea 2. Find a text containing around [] 3. Converts it into a php function 4...
asked by 03.08.2016 / 16:30
2
answers

Change CSS color

Good afternoon, I have a question like what I can do to change the color of a div by moving the mouse in another one for example: I have two div with the name of the first div of 1 and the second div with the name of 2 are both give black col...
asked by 20.07.2016 / 20:02
1
answer

When you load (enter) a page automatically move the scroll bar to a specific element without clicking anything

I have already been able to click on some link etc, but I would like that when entering a page the vertical scrollbar of the navigator goes down to a specific element, without having to click anything.     
asked by 21.07.2016 / 01:11
2
answers

When clicking on the site menu, move the scroll bar to a specific point slowly [duplicate]

I would like to move the scroll bar to a specific point on the page by clicking the menu of the site. I could do with anchors. jQuery(document).ready(function($) { $(".scroll").click(function(event){ event.preventDe...
asked by 20.07.2016 / 21:08
2
answers

Detect when a new file was created

Details: I have an application where: I have an AJAX request with JQuery triggered every time I new users are inserted by passing the necessary data to a PHP file that receives them via POST and creates a JSON file with these data. Th...
asked by 17.11.2015 / 15:58
2
answers

Right way to get a particular div

I'm trying to figure out a way to access a div via jquery to manipulate it. Here is the code: <div> <!-- Essa é a div que quero acessar --> <div> <div> <div id="conteudo">...</div> </div&g...
asked by 17.11.2015 / 13:07
1
answer

Problem with "on change" followed by "on click"

I have the following HTML code: <input type="text" id="esc" /> <input type="button" value="Ok" id="ok" /> And jquery / javascript: $(document).on("change", "#esc", function(){ alert("esc"); }); $(document).on("click", "#o...
asked by 29.09.2015 / 16:53
3
answers

How to add new inputs with jquery through a number of a text box, but add only those that are missing

Good I have the following code that adds inputs conforming the number of inserted in a text box, however if the form already has some text boxes I just want it to add the difference, ie start text box: 2 After change: altered text box...
asked by 09.12.2015 / 13:45
3
answers

How to load a ng-controller through ajax and inject it into the DOM

I'm creating an application where I'd like to load my modules via ajax. This application uses AngularJS to handle each module and these are injected into my DOM using Jquery, as in the example below: EDIT - (as requested by @EduardoBinoto)...
asked by 24.12.2015 / 11:37
3
answers

jQuery, block multiple clicks on the link

I'm trying to block multiple clicks. For buttons I got the solution, but for the links I still did not succeed. It has a solution that disables the link, but does not perform the action of the link. I tried using preventDefault, but I'm not sure...
asked by 04.05.2016 / 21:50