Questions tagged as 'javascript'

1
answer

Prevent dropdown menu closing with Right click inside it

I would like this dropdown menu not to close when you right-click inside it to open a link in a new tab. /* When the user clicks on the button, toggle between hiding and showing the dropdown content */ function myFunction() { docume...
asked by 25.01.2018 / 19:08
1
answer

How to fill data in html input

I'm creating a site to study and a question arose, where I created a basic HTML with database and I'm trying to pass some values manually, but when I press the change button, the fields are not filled automatically with the button . <scri...
asked by 25.01.2018 / 01:52
1
answer

Erase row of a table with javascript

I have a table with several elements (partners), and I need to make the delete button work. But whenever I put the event button it deletes all elements and not just the line I want. <table id="parceiro" class="table table-bordered table-str...
asked by 05.12.2017 / 13:49
1
answer

Unwanted characters using jquery + php

I'm having a little problem, when I use the jquery append to display elements returned from a php query. Note: this is not the full append, it's a bit long and I've just put the part I need you to see. $("#topics").append('<div class="to...
asked by 05.12.2017 / 23:50
2
answers

Problems with sorting by more than one criterion

In java we have the possibility to overwrite the compareTo function of a class and use sort () to sort a vector of objects. I would like to do the same with JavaScript, I already know I could use this sort function call but I am not able to adap...
asked by 05.12.2017 / 19:19
2
answers

SQL query fetching Javascript dynamic field

I would like to do a sql query by picking a user-entered field on a form and automatically filling the result in other fields?     
asked by 05.12.2017 / 17:43
1
answer

How to make the lightbox appear in front of everything?

I use the Ebit Banner for customers to evaluate the purchase on the site, but the lightbox of it always appears behind all elements of the page. How do you make it appear in front of everything? The code below is a summarized version of...
asked by 04.01.2018 / 19:45
1
answer

JavaScript property definition error

I'm using the SCEditor API and when I load the page, the following error appears: 0x800a138f - JavaScript runtime error: Can not set the '_sceditor' property of undefined or null reference <link rel="stylesheet" href="minified/themes/d...
asked by 05.01.2018 / 17:12
1
answer

Do something after an external script is fully loaded via jQuery append

I have an external <script> being added to the page via jQuery with: $("body").append("<scr"+"ipt src='url_do_script.js'></scr"+"ipt>"); This script adds some elements to the page (some tags). The script works perfe...
asked by 05.01.2018 / 01:07
1
answer

I did 3 slidesshow but between the slidesshows there is a space [closed]

My code: <div class="w3-content w3-row"> <div class="w3-third"> <img class="mySlides1 w3-animate-fading" src="comida/1.png" width="250" height="200" border="3"> <img class="mySlides1 w3-animate-fading" src="comid...
asked by 05.01.2018 / 21:46