Questions tagged as 'jquery'

1
answer

How can I know if a server allows JSONP or CORS

I want to use an API from a Wallpapers page but I run into restricted ajax domains. Investigate the error and it can be solved by using JQuery JSONP to take the information returned by the API. This is my request. $.ajax({ url: endpoin...
asked by 01.10.2016 / 00:40
1
answer

pass table row to another with jquery

Hi, I'm making a table that shows the contents of my database. I am using this code: Jquery 1.4.2 $(function() { function moveRow(row, targetTable, newLinkText){ $(row) .appendTo(targetTable) .find("a")...
asked by 21.06.2016 / 13:59
2
answers

TokenMismatchException in VerifyCsrfToken sending ajax by POST. ERROR 500

Hi, I have a problem with the csrftoken when making an ajax request. If I deactivate it in the kernel, protected $middlewareGroups = [ 'web' => [ \App\Http\Middleware\EncryptCookies::class, \Illuminate\Coo...
asked by 06.09.2016 / 18:51
1
answer

formValidation error with remote validator

My main problem was that I was trying to get a true / false from the controller to check the existence of an item in the database, (you can see it here) . The error was resolved, then I saw that one of the users, of the questions that they sugg...
asked by 26.11.2016 / 07:16
2
answers

Problem changing the value of a textinput

I have the following function which I call both by keyboard and by a href simulating a button but the detail happens because when I execute it by keyboard it changes the value of ('#total') but when I execute it by clicking it does not . funct...
asked by 11.08.2016 / 01:41
1
answer

Limit to two decimals in Jquery. Failed toFixed ()

I have a JQUERY code and I can not limit the decimals to two. This is my code. $('.cantidax').change(function() { var precio = $(this).parents('td').prev().find('span.amount'); var total = $(this).parents('td').next().find('span.am...
asked by 11.08.2016 / 19:26
2
answers

How to remove the "and space in my Jquery javascript table (a href Generic Handler)?

I have this: table.append("<tr id='row_" + i + "'><td name='id'>" + "<a href='http://localhost:25429/FileCS.ashx?id='" + Data[i].id + " target='_blank'>" + Data[i].id + "</a></td>" and send me as an answer:...
asked by 27.06.2016 / 21:52
2
answers

get modal window textbox in a new one

Does anyone know how to get the value of a text box from a modal window in another new modal window? I have a modal window that has two buttons, I also have a key value in a textbox that I need to recover in another modal window to process th...
asked by 23.02.2016 / 23:21
1
answer

Failed to redirect in a promise

Good morning. I'm doing a script in which ajax performed a process of insertion in BD depending on what returns this function ajax I need to reload the same page or clean the form, if everything goes well continue with another function ajax i...
asked by 03.01.2019 / 07:51
1
answer

Get shaded text from a div and apply styles on that text, with Jquey

I am creating a content editor, similar to this stack editor where we write our questions, with almost the same options to insert images, links, option to put bold text, italics, centered, aligned to the left or right, between Other options. Wit...
asked by 25.12.2018 / 16:16