Questions tagged as 'javascript'

1
answer

Button to insert new inputs into the form

I have a site that records building releases. Here some buildings have more than one tower, and I would like for each tower, I had the possibility to insert 4 inputs (type, footage, bedrooms, vacancies) Something like this: <form> <...
asked by 07.05.2018 / 18:13
1
answer

How to make a Content Script communicate with an iFrame element in extension for Chrome?

I developed a toolbar for Google Chrome by adding it to the pages through an iFrame: var iframe = document.createElement('iframe'); iframe.id="iframeId"; iframe.src = chrome.extension.getURL('CLAWS_Sem_Imagens.html'); iframe.style.height = 7em...
asked by 15.09.2015 / 01:36
2
answers

Calculate time difference in AngularJS

I have two variables, startTime (01:00:00 AM) and endTime (02:00:00 AM), I need to calculate the difference between one and another, how would I do this in the angular? I saw that there is Date.parse() , but I need to pass a...
asked by 17.09.2015 / 07:50
3
answers

How to reload the browser (Chrome) without cache, besides the disable cache?

Selecting the "disable cache" sometimes is not enough for the browser to not search javascript in the cache. Or even incognito. Some time ago I used a way that showed the option to empty the cache on the reload button of the page, but I do...
asked by 29.09.2017 / 21:55
1
answer

I have a validated form with JS and need to send via PHP to BD

I have a simple form, validated with javascript , and I need to send via POST to a PHP file that will insert via mysql database, however when I leave script JS in form it does not send to PHP , coul...
asked by 02.10.2017 / 21:07
1
answer

Socket Javascript does not connect (Stomp + RabbitMQ)

I'm trying to establish a communication between RabbitMQ and Javascript, to retrieve the log information that is sent to a RabbitMQ topic, but to no avail. In the console the following information is displayed: Opening Web Socket... WebSocket...
asked by 04.10.2017 / 13:16
1
answer

How to assign the value of a variable that is in a JavaScript function to an SQL query.

I have a javascript function that gets the value of the selected item in a combobox, and would like to pass that value as a parameter to a SQL query to bring the data that are related to the value obtained in the selected combobox in my asp page...
asked by 24.04.2014 / 19:37
1
answer

Email is not being true

I am having a problem: I am creating a " forgot password" field where the user types the email and if it is in the database it appears as true and redirects to page teste.php ; otherwise, to the index.php page. However, when I...
asked by 02.11.2017 / 02:36
2
answers

Open a lightbox image in the same layout from a button

Good day, people. I have a problem that I can not solve, I already fucked a lot in the posts here and in the youtube tutorials and nothing. I'm developing an android app for a project in college, but I'm not a programmer, I decided on the app to...
asked by 02.11.2017 / 14:13
1
answer

Back to the last page

I have on page (B) the following code to go back to the last page (A): <div class="return_back" onclick="window.history.go(-1);">< voltar </div> I have a form on page (B), and if I submit it one or more times, it does not ret...
asked by 29.10.2017 / 20:11