I'm trying to get the value of a select from jquery from the class, but this class has part of the value as a php variable.
Currently my code looks like this:
echo '
<select name="contarecebvenda" class="selects2'.$linha[cod].'" id="...
I'm getting a JSON that I created with PHP as described below, but when I try to access the properties of that JSON it always returns me undefined .
I made these test files there to demonstrate how I'm doing.
If I give a console....
Via JavaScript or Jquery, I need to check if there is any negative balance.
If you have a negative balance, then:
var BALANCE_DISPONIVEL = 0
if no:
var BALANCE_DISPONIVEL = 1
Below is the html source:
<html>
<head>
&...
Hello
I'm doing my first online store project but I'm missing out on completing some tasks that I do not know at this point how to solve. Below is what I need to do:
How to show the cart (which will be hidden) when the first item is inser...
I have a pivot table with quantity columns of a product and unit value, where I need to multiply the unit value by the quantity (qtd X val_unitario) and at the end to show the total sum of the multiplications (according to the image)
$...
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...
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...
I'm adapting the following script:
$(document).ready(function(){
$('#getUser').on('click',function(){
var user_id = $('#user_id').val();
$.ajax({
type:'POST',
url:'php/getData.php',...
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...