Questions tagged as 'jquery'

1
answer

Jquery button with click counter

Good morning. I have in my html a dynamic table with some data coming from the sql, among them an "available quantity" field and a button that with every click, make an ajax request and decrease the amount available "<tr>";...
asked by 14.05.2018 / 16:13
0
answers

Local call of javascript function with iframe

Good afternoon, could anyone help me? I have a javascript function and I need to run it from within an iframe. So far so good (window.parent) ... But my project is offline (local) and so the following error appears: "Blocked a frame with origin"...
asked by 14.05.2018 / 20:23
0
answers

How to stack a Highchart chart with 1 single point?

See in this example: click here to open the example in a jsfidle In this example it clearly shows that the series are stacked: Butwhenthereisnoothernextseriesitdoesnotshowstacked,onlydotsonthescreen: Iwantedyoutoshowthisyellowscratch...
asked by 14.05.2018 / 18:10
0
answers

Refresh only on parial view

I want the user at some point to be logged in to continue scheduling, so I'm opening a login mode, which does the whole login part, so when I return to the screen, the login does not update the information, needed a refresh in this partial view...
asked by 12.05.2018 / 22:02
1
answer

Register data received from api with php

I'm having trouble saving data received by an api in the database with php, it always returns me the error: Error trying to register record! I have already verified the data that is being inserted with print_r ($ sql) and everything is ok. I...
asked by 12.05.2018 / 23:50
0
answers

How to get the next strong value with jquery?

Given that I have the following HTML structure, how could I get the value, after </strong> and before <br> <strong>Categoria: </strong>Padaria &amp; Panificação<br>     
asked by 12.05.2018 / 21:33
0
answers

AJAX with CHTML Image YII Framework

Hello, I'm trying to make an AJAX request with a Chtml Image. When a user clicks on this image the request is made through a jQuery function, however I'm having trouble getting the image path, my variable named path in the function does not retu...
asked by 21.05.2018 / 15:07
0
answers

Catching with $ _POST values from generated fields from a dynamic select

Code that generates fields from a select $(document).ready(function(){ $(document).on('change', '#sectionChooser', function(){ var myID = $(this).val(); $('.panel').each(function(){ myID === $(this).attr('id')...
asked by 09.05.2018 / 14:04
0
answers

Ajax returning error msg

I'm trying to access the post api and I'm getting an access error not allowed, follow the error screenshot: Failed to load http://ws.correios.com.br/calculador/CalcPrecoPrazo.asmx/CalcPrecoPrazo: No 'Access-Control-Allow-Origin' header is pres...
asked by 09.05.2018 / 15:39
0
answers

consumption webservice rest returns: No 'Access-Control-Allow-Origin'

Deadlines, I have a problem to consume a third-party Webservice, when trying to consume it by java script the return I get is:    XMLHttpRequest can not load    link .   Response to preflight request does not pass access control check: No...
asked by 08.05.2018 / 16:28