Questions tagged as 'div'

2
answers

Detect if you click inside a Div

I am looking for a way to detect if click has been made within a div regardless of the content that is inside the div in question. $(document).ready(function(){ $('#armaz *').on('click', function() { alert($(this).prop('id'...
asked by 14.07.2017 / 07:52
3
answers

Center a div / with image / in CSS

I have two divs : image_cancelling and image_loading. I want the canceling image to be in the middle of the screen , centered both vertically and horizontally, and that image_loading is below image_cancelling , also centered horizontal...
asked by 09.01.2018 / 13:46
2
answers

Give styles to two divs within a global div CSS

I have a div A that contains div B and div C . <div id="A"> <div id="B"> ... </div> <div id="C"> ... </div> </div> I want div B to have a margin-top separation: 2em; re...
asked by 09.01.2018 / 03:49
1
answer

text protrudes from div

I have a div inside which there are 4 buttons, but the text excels the div by reducing the screen my html <div class="row"> <div class="col-lg-3 col-md-4 col-sm-6"> {{ Form::button(nombre, ['class' =&...
asked by 26.10.2018 / 19:14
2
answers

Change the contents of a div and activate or deactivate it

I have a div in HTML with a select and I want to call a function in JavaScript the content of this div change, after doing Several things in my JavaScript code. I want this select to disappear and a table appear...
asked by 27.04.2018 / 18:47
2
answers

Give more time to show in ajax

I have this code and I want to give it a little more time when displaying the #result element. $(document).ready(function(){ $('.para_envio').submit(function(){ var x = confirm("Are you sure you want to update?"); if (x...
asked by 19.05.2017 / 05:47
1
answer

like about putting a div with css and that only part of this div can be seen

hi how I have a doubt about css and how can I achieve the design that I am asked to show the green and yellow part the div that is inclined I do it with transform: matrix (); but what I do not know is how to hide the red part the result...
asked by 04.12.2018 / 01:01
1
answer

div does not appear with cakePHP 3.6

Hello, I have a layout and within this position content through fetch ('content')? > The views in cakePHP 3.6 are saved in src / template - > Vista / vista.ctp Well, I have a view that is a very simple code, it does a foreach and I s...
asked by 26.06.2018 / 17:54
1
answer

Error updating Div automatically

I have a chat and I need to update automatically by sending the automatic scroll down, the problem is that at the time of reloading the div is embedded in the whole web page on that div, I leave the code and error: <div id="chat">&...
asked by 23.05.2018 / 17:38
1
answer

Assign variable php as attribute id of a div tag

I want to generate a alert by giving click to each of the numbers in the table that is generated with the for . The alert works, but I want it to be the same number in the box that I click on. In this case the error is...
asked by 21.05.2018 / 22:20