Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

0 votes
1 answer
81 views

Disable and enable note field depends on note field value null or not

$(document).on('click', '.update', function() { var user_id = $(this).attr("id"); $.ajax({ url: "fetch_single.php", method: "POST", data: { user_id: ...
Moustafa Elbeda's user avatar
0 votes
1 answer
67 views

Update a data when I drag a point

EDIT: So I edited my post and my code. With what Justinas told me I changed my code, so I display the info of the 3 points below the div. But here's the thing, when I move a point, new info is ...
nk6's user avatar
  • 27
0 votes
1 answer
232 views

Updating value inside of json file

Is it possible to update a value inside of json file when a button is click? For example is this: { "caught": "0", "id": 1, "location": "River", "north": "Nov ~ Mar", "price": 900,...
Jay Rhick's user avatar
0 votes
2 answers
43 views

Dropdown updates another dropdown with jquery and sql

How can I update another dropdown with jquery with sql. It means from database. $('#typeOfGlass').on('change', function(){ console.log($('#typeOfGlass').val()); $('#glassWidth').html(''); ...
Farhan Shoffi's user avatar
0 votes
2 answers
244 views

Update the existing D3 graph when clicking on ajax

Update D3 graph on click I am trying to update my graph when the users click on a button, instead of creating a new graph every time. Currently, I have an ajax function to get data from the database. ...
user3784773's user avatar
1 vote
1 answer
80 views

How can I make a "tiny release" upgrade with jQuery?

I'm using jQuery 1.10.0, and it turns out it has a pretty serious bug, which was fixed in jQuery 1.10.1. On jQuery's download page, it only has jQuery 1.11.3. I don't want to change to a different ...
Jeff Caros's user avatar
1 vote
2 answers
584 views

how to update data from meteor in meteor using template helper which contain iteration

i just explored the meteor.js and have some experiment.. i want to update data using textbox.. but the textbox is generated from template helper iteration.. so, the scenario is just like we input ...
James Yap's user avatar
0 votes
1 answer
40 views

Placeholder with toArray

I am a noob learning jQuery. I have this Jquery code that works: $( "#sortable-4" ).sortable({ placeholder: "highlight"}); And I have this JQuery code that works: update: function(...
Ryan's user avatar
  • 9,957
0 votes
1 answer
89 views

Highcharts: update chart when data actualized

I am using Highcharts and I would like this chart to update each second. This is what I have now: JSFiddle I have timer window.setInterval(updateChart, 1000); and it works properly actualizing data ...
KaroCodes's user avatar
  • 256
0 votes
1 answer
86 views

jquery code working with version 1.7.1 but not with latest version

i'm using a jquery code on my website to control a slideshow. i've collected some codes supposed to work with jquery version 1.7.1. it works perfectly, but when using jquery latest version my code ...
mmdwc's user avatar
  • 1,127
1 vote
1 answer
2k views

How to update/reload a particular value in a web page only if it has changed? (using html/javascript)

I have created a web page using HTML and JavaScript (CSS is also used). I have set a refresh interval of 10 seconds. I don't want to refresh the entire page. I need to refresh/reload only those values ...
athira09's user avatar
  • 155
0 votes
3 answers
305 views

How to update select options before showing them in Jquery?

Look at this example code: <html> <head> <script type="text/javascript" src="jquery-1.8.2.min.js"></script> <script type="text/javascript"> $(document)....
Flávio Schuindt's user avatar
1 vote
1 answer
1k views

JQuery set value for the json: path provided as string

I have a string that carry the path of a nested json, where I need to update a value var path = 'p_Data[0]["BusinessUnit"][0]["BusinessUnit"]' if i evaluate this path I get value as 'Unit1'. I need ...
Okky's user avatar
  • 10.4k
3 votes
3 answers
138 views

Javascript update a value in an array within an array

I'm using the Flot Chart plugin to construct a bar chart. When the script receives new data, I need it to increase that value by one. var data = [["A", 0], ["B", 0], ["C", 0], ["D", 0], ["E", 0]] $....
Blease's user avatar
  • 1,400
1 vote
2 answers
4k views

Update Table Cell Data w/jQuery

This is my table format. <table id="table1"> <tr id="row_1"> <th>Some Heading</th> <td class="t1"></td> <td class="t2"></td> <td class="t3"&...
user avatar