Questions tagged as 'jquery'

3
answers

Enable 'Access-Control-Allow-Origin' in jQuery [xml]

I do not have access to the .htaccess server and need to enable cors in jQuery The code to access the WebService is: $(document).ready(function(){ jQuery.support.cors = true; $.ajax({ url: 'https://finance.yahoo.com/webse...
asked by 09.08.2017 / 18:04
3
answers

Problem in division and multiplication

I have an exercise to do the four basic operations, but multiplication / division is not going, and you have to test if the number q is dividing is not zero. But sum and subtraction is right. <html> <head> <title>...
asked by 12.08.2017 / 05:00
1
answer

Update price inside a box with jquery

I have a page with several boxes containing some information and the price of the product, a URL and a select, when the person select a different option in the select the price of the product will be changed. I searched the internet and found so...
asked by 14.09.2017 / 15:32
2
answers

CSS Selector - Execute a loop from a particular loop item

Good morning. Let's say I have a table with 100 rows, plus I'd like my each (JQuery) to start from row 15. Which Css selector should I use? Or does JQuery have any resources? Thanks to everyone     
asked by 14.08.2017 / 15:00
1
answer

Taking value from one input and moving to another dynamically

I have a screen to sell products, with this I have a button to add product to be sold, this button brings a select (to choose the product to be sold) and an input (which comes the value of the product) p> So far so good, but I'm having trouble...
asked by 13.08.2017 / 03:52
1
answer

With sending attachment via email via ASP.NET application

I already have a method in my controller that sends email. Now you need to see attachment (all attachment types, jpg, pdf, doc ...); string strPara = Request.Form["email"]; string strDe = "[email protected]"; string...
asked by 22.06.2018 / 21:22
2
answers

How to upload image using ajax and PHP?

I'm trying to upload images with AJAX and PHP, but I'm not successful and can not find the error. My code is: $('.arquivo').change(function() { var fileName = $(this)[0].files[0].name; var formData = new FormData($('.photo_change'...
asked by 25.06.2018 / 00:37
2
answers

Problem when calculating percentage using parseFloat and toFixed

I want to do something very simple, but simple as it is, I can not. I have an input that receives the cost value, an input that calculates and shows the profit margin in% and an input that receives the sales price. Thequestionisasfollows,theway...
asked by 23.06.2018 / 15:45
2
answers

Capture hidden value in lopping

I would like help on how to get a value from a hidden that is in a utility. I need this value to send to the next screen, but since it is in a multi-line table, I can not do that. I need to get this value in javascript. The screen: &...
asked by 10.11.2017 / 02:10
1
answer

Submit form with empty checkboxes and receive their value on the server

I'm getting a form with AJAX and Jquery and sending for treatment in a PHP file with name getPDF , in this form there are several checkboxes with different values, but name and class are equal ( name = ' check[] ' and class = '...
asked by 09.11.2017 / 14:08