Questions tagged as 'javascript'

2
answers

Delphi: Error 80020101 when executing javascript in TWebbrowser

I use TWebbrowser in an application Delphi XE7 , but I'm having problems trying to execute javascript commands.    (OleException ... Can not complete the operation Error: 80020101) This happens with any function I try...
asked by 07.11.2015 / 20:33
1
answer

Remove cloned DIV by clicking button

At some point I asked a question about how to clone a DIV of a form by clicking a button (+) ... I got the following answer that helped me back then.    ANSWER Now, I need to add a new button (-) so that when the user clicks, the clo...
asked by 11.11.2015 / 07:00
1
answer

jQuery, close button works only once

I have a textbox that is generated by a button, and it has a button with the function close it, however it only works once, for the first box generated, I would like it to work on all that are generated later. And in this I have another small...
asked by 04.01.2016 / 22:09
2
answers

Add product value [closed]

I have a simple dashboard for selling some products: AndIwouldlikethatwhenIchooseanyoftheproductsthereinthecombobox,thevalueoftheproductwouldchangetothevalueoftheproductIchoosewillithavesomewayofdoingthisinjavascriptorotherwise?,mytable: Mycode...
asked by 04.01.2016 / 13:24
1
answer

Checkbox enabled count

This code counts how many checkbox was checked. How can I make it not include count checkbox disabled <script type='text/javascript'>//<![CDATA[ window.onload=function(){ var contador = function() { var n = $( "input:...
asked by 05.01.2016 / 00:22
1
answer

Fill in textfield with the description corresponding to the selected value in a combobox

I have in my view a select that receives the data of the functions and the lists. <select id="id_mfuncao" name="id_mfuncao" class="form-control"> <option value=""><< selecione >></option> @foreach($mfuncoe...
asked by 15.01.2016 / 13:47
1
answer

CodeCademy Javascript error

I'm having trouble creating a for inside of if and get the value of i and inside the second for with var j. I need to compare the var myName with the text and check if they start with the same letter and then make the var hits with the .push ()...
asked by 18.01.2016 / 21:23
1
answer

WScript http post / get in JScript for PHP

I am trying to do a script in JScript to be executed by WScript (native Windows command processor) ... And I have a question: How do I send data in POST or GET (as in a form) to a PHP page? Thanks in advance. Edit: The idea is to make a...
asked by 03.10.2015 / 21:51
1
answer

Validate several Emails inside input to enter from the enter key with jquery

I want to use a input to store multiple emails but I'm having trouble deploying this in practice. When placing an email in input the user press enter, to validate the email, if valid add the character ; How to do this...
asked by 01.10.2015 / 22:37
1
answer

Add to a category

I can not make the new tasks added belong to the selected category in select. angular.module('TarefApp', []); angular.module('TarefApp') .controller('TarefasController', function($scope) { $scope.tarefas = []; $scope.addT...
asked by 03.10.2015 / 18:32