i have a table fetching data in ajax. so  i want get some value return values. mainly i need check box checked count in server side data. i have try many more time. sorry i have no idea how to explain this. I'm New web development.please check my code here   this is my firt html code   &lt;div id="image_data"&gt; &lt;/div&gt;   &lt;script&gt;   fetch_data();   function fetch_data()  {   var action = "fetch";   $.ajax({    url:"get.php",    method:"POST",    data:{action:action},    success:function(data)    {     $('#image_data').html(data);    }   })  }   $(document).ready(function(){   $(":checkbox").change(function() {         if(this.checked) { var numberOfChecked = $('input:checkbox:checked').length;              alert(numberOfChecked) ;         }      }); }); &lt;/script&gt;   server side script   if(isset($_POST["action"])){  // fetch data in mysql      $output = '    &lt;table class="table table-bordered table-striped"&gt;       &lt;tr&gt;      &lt;th&gt;name&lt;/th&gt;      &lt;th&gt;checkbox&lt;/th&gt;      &lt;th&gt;Change&lt;/th&gt;      &lt;th&gt;Remove&lt;/th&gt;     &lt;/tr&gt;   ';   while($row = mysqli_fetch_array($result))   {    $output .= '      &lt;tr&gt;      &lt;td&gt;'.$row["SliderId"].'&lt;/td&gt;      &lt;td&gt;'.$row["Name"].' &lt;/td&gt;      &lt;td&gt;&lt;input type="checkbox" name="vehicle" value="abc" id="'.$row["SliderId"].'"&gt;&lt;/td&gt;      &lt;td&gt;&lt;button type="button" name="update" class="btn btn-warning bt-xs update" id="'.$row["SliderId"].'"&gt;Change&lt;/button&gt;&lt;/td&gt;      &lt;td&gt;&lt;button type="button" name="delete" class="btn btn-danger bt-xs delete" id="'.$row["SliderId"].'"&gt;Remove&lt;/button&gt;&lt;/td&gt;     &lt;/tr&gt;    ';   }   $output .= '&lt;/table&gt;';   echo $output;  }   when i have click  checkbox. i want alert check box checked count.
I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.
Why does Calculate button remain gray in Group Stats Plugin for QGIS? In my case I failed to use  plugin (2.0.30) with QGIS 2.14.11 and 2.18.3 on windows64.  Tested on several datasets: points, polygons, and csv.- But I am not sure what I have missed.    I want to click on this Calculate button. Right triangles and tangent lines Consider the hyperbola $xy=1$ with $x&gt;0$ and $y&gt;0.$ The tangent line at any point on the hyperbola forms a right triangle with the coordinate axes. Show that the area of the triangle does not depend on the point chosen. To show this, do the following:      a) Choose a point on the hyperbola of your choice. Find the tangent line and then find the area of the right triangle described above.      b) Choose a different point of your choice. Find the tangent line and then find the area of the right triangle described above.      c) Now for the general case, choose the point at $x=a.$ Find the tangent line at $x=a$ and then find the area of the right triangle described above.   This is the work I have so far:    No method to find the area of a right triangle was given, so I just used 1/2*B*H.  But I get stuck when given $x=a$ for part C.  Any ideas? There is a way to change top bar background opacity in ubuntu 20.04 lts.  I installed the hide top bar extension but is not a option to change it. I want wp_link_pages (mutli-page posts) to display the page numbers, the word "previous" before those numbers, and a "next" after those numbers.  It would look like this:  Prev 1, 2, 3, 4 Next  I'm attempting to do this without a plugin.  Here's what I've tried so far, but it isn't working, it is only displaying numbers.  &lt;?php wp_link_pages(array(     'before' =&gt; '&lt;span style="clear:both; display:block"&gt;Pages',      'after'  =&gt; '&lt;/span&gt;',     'next_or_number'=&gt;'number',     'previouspagelink' =&gt; 'previous',     'nextpagelink'=&gt; 'Next' )); ?&gt; is it true if $f,\overline f$ are both analytic in a domain $\Omega$ then $f$ is constant? I am not able to  find out what property of holomorphic map I need to apply. please help.Thank you.  $f(z)=u(x,y)+iv(x,y)$, $\bar{f}(z)=u(x,y)-iv(x,y)$ Is acceleration relative in relativity? Suppose a box A is moving relative to a Box B, then by time dilation equation if I take 1 sec passed for an observer in A then for an observer in B will be little longer. Now if I suppose that the box B is moving while A is stationary under the same condition, then by the time dilation equation time passed in B must be shorter than A. How is this issue resolved? In the twin paradox problem my book says that it's due to acceleration, but in my opinion acceleration is relative (please correct me if I'm wrong), but here it is not the case. How to fix a grub boot error : "symbol 'grub_calloc' not found Just ran the latest batch of updates on 20.04 (Xubuntu), and now I'm getting a GRUB error: symbol 'grub_calloc' not found  I'm dropped into the 'grub rescue' shell, but have no idea what to do there that might be useful. To me, 'symbol not found' implies some sort of build error with the grub package, but I don't really know how grub works. I noticed that this update also included 'firmware', not sure if that could be related. Is my best bet just to boot from a live CD and see if I can roll back the update to grub somehow? Edited to add: OK, thanks to lots of people ! Here's what I think I now understand.  On 'non-UEFI' systems, grub is installed in two separate parts. The first, most basic, part is the part that is started on bootup. But for most of it's functionality, it needs the second part. These parts must be aligned - neither part must require any functionality from the other part which is not actually there. The visible, run-time problem occurs when these parts are not aligned, and the function grub_calloc is not supplied. It's not 100% clear to me if grub_calloc belongs in the second, larger part or the first. I would have expected the second, but the grub build system is a work of considerable art, so I don't know :).  The root cause of the problem is that the grub update has not ensured that both parts have been updated. Ideally, failure to do this should cause grub installation to fail, and the system should be reverted to a safe state. This does not happen. This is actually still a bit of a mystery to me. All that the update needs to do by default is put each part where the current parts are, because obviously that worked. If the install locations/drives are configuration - driven, and one of these locations can't be reached, then somehow a mismatch has arisen between that configuration data and reality. This might not show up as a problem as long as no new dependency was introduced between the parts.   All flavours of solution involve reinstalling grub to ensure that the two parts are aligned. It's not actually necessary to go back to the previous version ( although that will work ), because it's not the grub runtime per se that is broken. There are numerous ways to achieve this, depending on your environment, but running the Boot-repair live disk worked for me. It may be useful, for the purpose of avoiding such a misalignment in future, to ensure that the grub installer on your system is configured to install to the correct devices. This update resolves some important bugs (). If you have reverted grub to resolve this problem, be aware that you are exposed to these issues. Why is you subjective? (Catchy title, eh?)  I am asking the following on the photo.SE site:     How do you change from portrait to landscape in Lightroom   DANGER! DANGER! This appears to be subjective and is likely to be closed.  If I ask the following radically different question:     How do I change from portrait to landscape in Lightroom   ... there is no problem.  So, like the title says: Why is "you" subjective?  (And  where Jeff spills the regex) Looking for a command to create the geometry line symbol (\overline with arrows on both ends) I need a way of encoding the geometry line symbol. $\overline{AB}$ gives me the line segment symbol and $\overrightarrow{AB}$ gives me the ray symbol, I need a way to get a bar over the letters that has arrows on both ends. $\overrightleftarrow{AB}$ does not work.   Thanks! Is it possible to have a monoid with a proper class as the collection of elements? My question if it possible for us to have, for example, a monoid(any algebraic structure really) with a class as the collection of the elements, instead of a set.  An example would be the class of sets and set union as addition. Clearly, it is closed under the operation, is associative and it has an identity element, so it is a monoid. Is it possible to say so? Source shell script automatically in terminal How can I automatically source a particular shell script when I open a terminal window by right clicking somewhere and choosing "open in terminal"?  For example, every time I open a terminal I need to run the following command line:  source myscript   How can I make it so that I don't have to type this automatically?  My script is written in tsch:  #!/bin/tcsh setenv DISPLAY 127.0.0.1:10.0 cd /ast/dcm/data   I'm using CentOS 7. Is there a way to assign a value to a variable, that value which we get in terminal by writing any command?  Example command: sensors  From that we get CPU temperature. How can I assign this value to a temp_cpu variable? Why Does The Background Image Not Show in Orthographic View? Embedding DLLs in a compiled executable Is it possible to embed a pre-existing DLL into a compiled C# executable (so that you only have one file to distribute)? If it is possible, how would one go about doing it?  Normally, I'm cool with just leaving the DLLs outside and having the setup program handle everything, but there have been a couple of people at work who have asked me this and I honestly don't know. Proving that the map from a topological space to a fiber bundle is open. linux find command to move files How to run applications as root? I am having some strange issue with Kate and Kwrite. When I click on Open File, it crashes with segmentation fault.   I am a complete newbie to Linux, and I think the issue is that I am not running the application as root.   How do I run applications as root in Ubuntu? Is it bad practice to do this? What is the purpose of the whole root thing, where even though we need to use root so frequently, it is not utilized as default? Can I leave the Schengen Area (and come back) while my non-eea spouse resident card application is being processed? My wife and I recently moved to Germany. She's a Swedish citizen, and I'm American. It'll be December before I can actually apply for my residence card, because my appointment to register our address is so far out - the local police station was all booked out and we didn't get an apartment right away.  I imagine that I won't be getting my residence card until well after Christmas, by which time my 90/180 days will be passed. What if I want to leave to, say, London for the holidays? Will I be allowed back in? I hit day 90 around the 21st of December. I could maybe leave on day 89 and come back on day 90 (with my wife and our marriage cert), or use this Polish solution: , since I can't be expelled from Germany for overstaying my visa while my application is processing.  Both of those seem a bit risky though. Am I reading too far into it, or is this a legitimate concern? Will I get some sort of documentation saying I have a residence card application processing? How is acceleration measured if there is change only in the direction of velocity & not magnitude? The formal definition of acceleration is      It is the measure of how fast the velocity changes with respect to time.   Now, when the magnitude of velocity changes, acceleration $$\vec{a} = \frac{d \vec{v}}{dt}$$ and its unit is $m.s^{-2}$ .  But what about the case where the velocity only changes its direction keeping its magnitude constant? The definition can then be      Acceleration is the measure of how fast the velocity changes its direction with respect to time.   But how can I calculate the acceleration then?? What should be the unit then??? Please help. How can I install updates and shut down from the command line? I know that there is a simple way to shutdown the computer in command prompt, but is it possible to do system updates and then shutdown the computer in command prompt?   For example, when Vista needs to install updates, it will let me install them and shut down by clicking the Shut Down button (while relegating the normal shut down button into the menu). So is there a command to do this in command prompt?