Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
57 views

Updating URL on ajax call

Trying to update url whenever the button for modal to show content is clicked, managed to find out how to change it but it returns http://localhost:3000/wp-admin/admin-ajax.php which is not what I ...
COBNETCKNN's user avatar
0 votes
1 answer
27 views

How to make added element by jQuery knows recent functions

I have an html table each row (tr) have a value (exp: 200$) and a delete button, how to make each added row knows recent functions without recall them every time $(function () { $('.add-prod').on(&...
iheb najjar's user avatar
2 votes
0 answers
148 views

Update the dropdown list on AJAX success function

I have a Dropdown list where I choose the League and another dropdown which features the teams according to the league selected in the first dropdown. My problem is what to include in the success ...
Nick's user avatar
  • 23
-2 votes
1 answer
49 views

I would like to get useful link at the end with jquery

At the end would like to get this: mondaysoupcall.html and call into another div. This is the target div: <div class="description"></div> This is the label where I want to click and read ...
3Designer's user avatar
0 votes
0 answers
48 views

mysqli_close Closes Connection In Present File or All Files?

I have a question that can't find clear answer to it. mysqli_close() closes connection in file where is present or it closes for the rest of running files too in php? I have a page with an ajax.php ...
main's user avatar
  • 3
2 votes
1 answer
58 views

Call a function inside onther function (function($) {}

To avoid jQuery conflicts with '$' i have some functions inside (function($) {}); an i want to call it from outside the function. Is there any possibility? looks like this: whatever(); (function($)...
Dominik Narinder's user avatar
1 vote
1 answer
113 views

Problem: pass some parameters in ajax call (post)

I have 2 functions: one to add and another to delete. I would like to reuse the same ajax call to send the parameters that are added or deleted. How can I optimize my function? Here is my code at the ...
Norak's user avatar
  • 413
0 votes
1 answer
71 views

javascript call a function from another

I have this JS function: function addMemberToLessonDirect(id) { $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') ...
m.Sarto's user avatar
  • 179
-1 votes
1 answer
24 views

Call several times a function, already running

I use the dropzone library to upload files and once a file is uploaded, I call a function that retrieves the list of files on the server. The problem is that when I import small files, the function ...
b-user's user avatar
  • 117
-2 votes
2 answers
214 views

On event JavaScript

I need to create landing page where you need to enter promotion code to proceed. There are 3 different actions: you enter correct code and redirected to another page, you have entered wrong code and ...
Artjom Korman's user avatar
-1 votes
3 answers
1k views

How to call a void method of a C# class from javascript - ASP .Net MVC C#

I need your help for a problem I don't manage to solve :) I have this form in my program to upload a file @using(Html.BeginForm("UploadDocuments", "User", FormMethod.Post, new { enctype = "multipart/...
Killi Co's user avatar
0 votes
2 answers
50 views

Unable to call ASPX function through JQuery without any data

I am trying to call my aspx function using jquery but I'm unable to call it. I have added a breakpoint to my code but that breakpoint never goes off, meaning that the function is never called. ...
Talha Akhter's user avatar
0 votes
1 answer
51 views

AJAX call passes the <div> instead of the <button> one

I'm wondering why this ajax call, passes the div id instead of the button one that I want to. <?php while($info = mysqli_fetch_array($sql)) { echo "&...
Mattia's user avatar
  • 6,554
0 votes
1 answer
27 views

How to use jquery and javascript in same document

So I am trying to use jQuery, (in the heading) and javascript (normally) in the same document, but it seems that because of the script source thing, it conflicts with the JavaScript and doesn't word ...
user avatar
0 votes
0 answers
183 views

Ajax call every 5 seconds (flicker issue)

I'm using the following jQuery which works: setInterval(function() { $.ajax({ url: 'helper.php', type: 'GET', data: 'ckc=1&user_token=<?php echo $user_token; ?>', ...
Thatguy's user avatar
  • 33

15 30 50 per page
1
2 3 4 5
12