Questions tagged as 'jquery'

3
answers

How do I get the column number of the table in which an input I'm writing is?

I have text inputs on cells in a table. <table> <tr> <td>Bola</td> <td>Casa</td> <td>Arvore</td> </tr> <tr> <td><input type="text"...
asked by 20.08.2015 / 17:18
1
answer

Function JS does not perform calculation

I created a form that is added to the page with a button. I used JS to create the form to be added. The problem is that I have two fields one of value and another of hours, to count the value of the time worked. Then I applied to the input that...
asked by 11.08.2015 / 15:52
1
answer

Site load progress system

Some sites like Walking Dead and YouTube has a system that appears above when the page is loading and an image appears in GIF or CSS3 by flipping on the side or a progress bar. What is the name of this system or how can I do it? I've done...
asked by 08.04.2014 / 04:10
2
answers

Is it possible to have more than one CSS rule for an "img" in a "div"?

How to apply two (or more) CSS rules to elements img of within a div ? I use the TinyMCE editor and when I send an image to post or messages (pms) I have to be in a specific measure for each thing, otherwise the images "pop" the...
asked by 06.05.2014 / 02:34
1
answer

Open a div according to your ID

I have a menu that, when right-clicking, it opens in DIV . Everything happens inside a tr (line) of a table . My problem is the following , I have a table with several tr , and each of them gets a ID . A...
asked by 13.04.2016 / 13:51
2
answers

Enable select option with javascript / jquery

I'm developing software, but I can not enable a select. The intent is to check the select enable automatically. How do I do this? function habilitarSofa() { var radios = document.getElementsByName("sofa[]"); for (var i = 0; i <...
asked by 18.12.2017 / 15:15
2
answers

Block access to javascript files

I have a javascript file that does ajax requests for my API, but I do not want anyone to find out the link to it, is there any way to block access to this file? If you do not have some way to release so only the site can access?     
asked by 08.06.2015 / 03:21
1
answer

How to create a slide with two divs?

I need to create a slide with two divs. I made one here just a scroll bar is coming down, look at the JSFiddle . HTML <div class="carrousel"> <div class="item active" id="about"> <p class="red">Primeiro aqui P...
asked by 29.05.2014 / 23:21
3
answers

PHP Execution via Ajax jQuery

I'm putting some instructions inside a same PHP file that are executed according to the value of the send variable received, at least that's what I thought. In this code you have two of these instructions, one that receives send == 'bu...
asked by 02.08.2014 / 15:54
2
answers

HTML and Javascript integration

I'm doing some initial testing with javascript, and I'm not succeeding when trying to change a parameter from my HTML code. The idea is that by clicking the "Message" button, the text will be updated to "New Text!" Here is the HTML and javascrip...
asked by 25.08.2016 / 18:24