Skip to main content

All Questions

Tagged with
0 votes
1 answer
470 views

Tampermonkey script does not see shadow-root (open) elements loaded by ajax

I am attempting to write a Tampermonkey script in Chrome for a website that I use all the time at work. I want the script to remove the disabled attribute on buttons of a certain class or title. This ...
bakedmcgaked's user avatar
0 votes
1 answer
100 views

Get URL from ahref using Javascript

<a href="#url" data-mc-cta="1" style="display:none">Link</a> In this above a href code, a random URL will be generated by advertising network javascript ...
Mehul Kumar's user avatar
0 votes
1 answer
52 views

Create selector with id from ajax jquery

I am reciving id and a link from my ajax call. I have to use id to find my tr, and then show the link in the td with class .center-xs her is my HTML code: ... <thead> <tr> <...
Abbas Anwar's user avatar
1 vote
0 answers
192 views

Expandable table

I want to make expandable table like this expandable table filled by PHP script. Now it doesn't work after i added if statement in hidden.foreach(). Do You know why it doesn't work and how to fix this ...
MatZyn's user avatar
  • 17
1 vote
1 answer
1k views

pass table row values to controller using jquery selector and ajax

I'm trying to pass a row values by a click on its button using jquery selection and Ajax to pass it to controller. After alot of tries, It finally gets the values of the single row right but it just ...
2766's user avatar
  • 145
0 votes
2 answers
968 views

jQuery : Select all Select Element with value selected only to send in ajax

I'm trying to Improve my ajax request speed so my ajax code is like this $.ajax({ url:url_option, type:'POST', dataType:'json', data:$('#product input[type=\'text\'], #product input[...
Kamalesh M. Talaviya's user avatar
0 votes
2 answers
438 views

I load the full jQuery library, but I only use Ajax and selectors. Better shorter code?

I created a star-rating voting system based in jQuery, I load the full jQuery JS library, but I found that I only two features of it: the simple Ajax method: $.ajax({url:"dosomething.php",cache:0,...
Hookstark's user avatar
  • 1,149
0 votes
1 answer
123 views

jQuery buttons selector wait ajax finished php exec command using async-await not working

I have a php page with multiple forms that are sending an exec command to the server: Form 0, button RunAll -> It must run all the following button commands sequentially with jQuery class selector ...
EnryBi's user avatar
  • 21
1 vote
1 answer
198 views

select tag created in ajax request doesn't be shown in HTML file

I want to load some options via ajax request and show them into select tag HTML. After I get data and create a select tag manually, the HTML file doesn't show the select tag. I used jquery and put the ...
Omid Erfanmanesh's user avatar
1 vote
2 answers
60 views

jQuery How to Make $(this) Selector Fires Multiple Classes

I have 2 tables with different class that have same contain. Table 1 shown in main section and the second table shown on a popup function. Both table still on the same page html. I have a click ...
Drunken M's user avatar
  • 2,453
1 vote
1 answer
2k views

Single onchange for multiple dropdown ajax

I am new in jquery. I want to make single Onchange for multiple dropdowns. I've tried with for loop but didn't work. I've been searching but didn't find the solution. How to make this code look simple?...
Ria W's user avatar
  • 67
1 vote
2 answers
64 views

Updating data-attr on a button with jQuery

I'm trying to update the data-action attribute for the ('.follow') element to unfollow in the success response but it's not updating. What am I doing wrong? $('.follow').click(function() { var ...
spice's user avatar
  • 1,502
-3 votes
1 answer
198 views

Ajax code suddenly stopped working?

I'm losing my mind right now, I don't know what happened. I wrote a code where users could write a comment, and as soon as you submit it the comment shows up. Everything worked perfectly fine until, ...
Wargrave's user avatar
0 votes
2 answers
661 views

Multiple Selectors for a .load() Function? JQuery/AJAX

Is it possible to have multiple selectors adhered to a .load() function? Here's an example I am working on (with 4 selectors): $('#embed-media').load('https://LOADURL.com/ #mediasection:first',...
nr159's user avatar
  • 211
0 votes
2 answers
2k views

Ajax Live Search with Multiple Inputs

I am writing an ajax live search feature into my software. There are multiple input that need to be ajax searchable on each form. Everything works great except I want the list of results to be ...
SuperCatchyUsername's user avatar

15 30 50 per page
1
2 3 4 5
7