Questions tagged as 'javascript'

1
answer

How to Make a Rule in the JavaScript According to the DIV [closed]

Good evening, personal. I want a rule made through javascrit / Jquery to do the following: If the input with ID = 'A' is (IN) of the div with ID = 'B' do something ... That is, I want to know when a element is inside a certain div I can do a...
asked by 01.02.2018 / 00:39
1
answer

Filter problem using class="selectpicker" in filter select,

Good afternoon, could anyone help me with this problem? I have no idea what's going on .... Next, I have a select that selects the city, and then the follow-up as selected in the city, so far, it works and everything, but I just put the class...
asked by 31.01.2018 / 20:12
1
answer

Get html array value with JavaScript

In the code below I get the values stored in several <textarea> with the use of the each function. But I would like to do the same in a similar way, using a for . Can I get these values by scanning with for , h...
asked by 31.01.2018 / 19:22
1
answer

Get TextBox value inside Repeater with JavaScript event Onchange

Good afternoon, I'm not able to pass the value of a TextBox asp.net created inside a Repeater as a parameter to a javascript function onchange function. I need to pass two parameters the first is a Eval("Pos...
asked by 30.01.2018 / 18:44
1
answer

How to display sequential DIVs using fade and time control?

Good afternoon, I want to make a sequence of DIVs displayed one by one during a time interval, in the same location, including fade in and fade out. I ask: how to use JS to determine this interval and follow the execution? Example: Here th...
asked by 30.01.2018 / 20:20
1
answer

PHP code inside of JQuery, is it possible? [duplicate]

I have an application and in it I use JQuery and the function that I'm having problems is the following: When the user clicks the + button, it calls JQuery that reads HTML and PHP content and executes on a line below to insert a new...
asked by 30.01.2018 / 17:06
1
answer

ng-model of an object

I have a controller: function ItemsCrtl($scope) { $scope.items = [ {id: 0, name: "PC"}, {id: 2, name: "GEladeira"}, {id: 3, name: "Fogao"}, {id: 4, name: "cama"}, {id: 5, name: "privada"},...
asked by 05.03.2018 / 16:20
2
answers

Get value entered by the user in the input with jQuery

Hello! It's the following, in my form, I'm trying to get the value entered by the user in the input as follows: // jQuery function teste() { var nome = $("#nome").val(); alert(nome); } // HTML <form method="post" action="#"> <div...
asked by 06.03.2018 / 02:49
1
answer

Get child object - firebase

I have a firebase database in this structure: { "-L4Wqs3YbAlUgTWElF4Q" : { "receita" : { "-L6m_C46-Mj1py6RtF8H" : { "imagem" : "default", "ingrediente" : [ "ovo", "leite" ], "nome" : "um nome", "prep...
asked by 05.03.2018 / 23:48
1
answer

Send the form to different addresses according to zip code

I have a form that calculates the delivery rate according to the CEP, until then everything working 100%. My client is opening their business in another area and wants the orders to be sent according to the area. Today all requests are sent t...
asked by 06.03.2018 / 15:33