Questions tagged as 'javascript'

1
answer

Submit php does not work

My contact form is not sending, could anyone see what error I am making? HTML: <form id="contactForm" novalidate class="s-form wow zoomInUp" data-wow-delay="0.5s"> <div class="s-relative"> <select name="user-topi...
asked by 16.09.2016 / 19:49
1
answer

JavaScript table to fetch data

I am making a page where I want to make a kind of simulator and I am having difficulty in one of the zones of the table I select a name and in the following column a price that I put appears. link This all to after in the end give me an...
asked by 18.05.2016 / 16:43
1
answer

Text is not entered. after clicking textarea

What happens is as follows: I'm trying to insert an emoticon in this textarea <textarea name="mensagem" cols="90" rows="10" placeholder="digite o texto ou cole HTML">[8)]</textarea> The emoticons are in a bar that inserts w...
asked by 16.05.2016 / 03:02
2
answers

How to remove Markers one by one (javascript)

I have the following code to add my markers: function setParking(map) { var pointA = { lat: -16.113700, lng: -45.825545 }; var pointB = { lat: -15.284216, lng: -44.658747 }; var poinC = { lat: -16.139567, lng: -43.236152 };...
asked by 20.05.2016 / 13:09
2
answers

Redirect a page with javascript when opening a new tab

I need to redirect a page with javascript after submitting a form, the problem is that this form opens in a new tab and after opening this new tab I need to redirect the original tab to a new address. Using the code below I can not do this:...
asked by 27.09.2016 / 15:14
3
answers

Replace in the javascript array

Good afternoon, friends I have a problem here in javascript. I have an array, but with each index it is adding a double quotation mark, and I want to remove them from there. My code looks like this: dados = new Array(); $.get(url, f...
asked by 08.03.2016 / 15:44
1
answer

Problems with ng-required and ng-disable

I have a web application where a person can enter their abilities but if there is a bug that allows them to enter blank skills, then I am trying to use ng-required on input and ng-disable on my button to this does not happen...
asked by 03.03.2016 / 20:37
1
answer

PHP String in Alert Javascript

How can I get the return of a database in PHP and play the result in alert javascript? while($row = mysql_fetch_array( $result )) { // Print out the contents of each row into a table $nome = $row['Nome']; echo "<tr><td>";...
asked by 04.03.2016 / 13:03
1
answer

I need help with JQuery and / or JS to Drop Down Dependent Menu

I'm developing a program where you have a drop down menu happy with the Monthly, Weekly or Daily values that are the periodicity in which a system task should be run. Ai has a second drop down menu that should contain options according to what w...
asked by 04.03.2016 / 17:48
3
answers

How to make certain words within an editable div be of a color?

I have a DIV that is editable by the user, but I wanted it when I typed Brasil it is only this green word tabem as EUA is red, but only certain words. DIV code: <div id="texto" contenteditable = "true" ></ div&...
asked by 04.03.2016 / 14:08