Questions tagged as 'dom'

1
answer

Check if Node created with insertAdjacentHTML in a loop is "visible"

I'm looking for fragments of HTML with fetch() and adding to DOM with function insertAdjacentHTML() in loop for() ... the function that performs this task is in Promise() and its% return (in case of succ...
asked by 28.01.2018 / 18:51
1
answer

Wordpress - Contact form 7 does not work with the jquery DOM

I have this code that brings DOM documents to the page $(document).ready(function(){ $('.abas').on('click', function(){ var paginas = ["pagina1.html","pagina2.html","pagina3.html"]; aba_index = $(this).attr('tabindex');...
asked by 30.12.2017 / 11:08
1
answer

OpenSSL DOMDocument problem

I'm trying to get information from a site using DOMDocument but it's giving an error. DOMDocument::loadHTMLFile(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certi...
asked by 08.12.2017 / 16:36
0
answers

querySelector class? (JAVASCRIPT)

I made a function to change a photo when an element is added in my table, which table I created a class to get the photo to change, but to get the html element, I need to use the querySelector, but I'm not getting with class , but when it's with...
asked by 23.11.2017 / 16:39
1
answer

javascript does not create html element and does not add to the page

I'm starting in javascript and wanted to create html elements dynamically but when I load the page it goes blank and does not add the elements code below: function add (){ var texto = document.createTextNode("teste"); var p = d...
asked by 02.10.2017 / 17:19
2
answers

Pick up Div inner element next to

I'm trying to make clicking on a button the content of div on the side editable. Home Better viewing the code: <div id="nome" class="container"> <div class="col-10"> <p class="editar" contenteditable="false"&g...
asked by 28.07.2017 / 16:09
0
answers

How to insert email and password inside the input inside the Iframe?

I want to know how to enter a value inside the text field inside an IFrame. For example, in this link , there is a simple login. In it, my boss asked me to do the iframe and leave everything typed automatically, just for him to click OK. Typ...
asked by 23.06.2017 / 21:02
0
answers

How to get the value of a tag with a specific class / attribute with DOM and php?

Hello. Is it that I want to get the value of a particular tag with a specific class / attribute using DOM and php. Below is the html that will be used: <div class="header nopadding filmesonline"> <div class=...
asked by 16.05.2017 / 04:33
0
answers

Javascript - DOM Manipulation

I'd like to know how to manipulate the h1 tag for my workout. When I click the button the animation in JavaScript starts and the h1 is hidden, and when the animation comes to an end the h1 appears again in the same place. Bu...
asked by 04.05.2017 / 00:17
1
answer

How to make selector next and prev on XML elements

I'm having a hard time eluting XML elements on flow control prev / next , what I have is: Code function mostrar(i) { var txt, parser, xmlDoc; txt = "<carta>" + "<para>Marcos</para>" + "<de>Luciana&...
asked by 03.02.2017 / 02:51