• Register

Recent questions tagged jquery

0 votes
1 answer 8 views
Problem hey, I want to that how to code to get a effect of image of showing full size when click on the image. provide me code of that and funtioning of that. i hope you will provide the best one.
asked Nov 13 chris jordan 440 points
0 votes
1 answer 12 views
Problem: Hello, is there any demo that performs a live table entry. I mean, when you type something in a table, it will automatically be saved to the database like the microsoft excel?
asked Nov 12 Grace Butan 340 points
0 votes
0 answers 12 views
Problem: I'm trying to implement angular datatables in my project but it returns TypeError: Can't read property 'aDataSort' from undefined I'm using Angular js version 1.4.9. Jquery version 2.1.1 DataTable version 1.10.10 My HTML code <div class=col-md-12 ng-controller= ... }else{ alert('You are not a authorized user'); } }, function(reason) { console.log(reason); }); } Thanks in advance!
asked Nov 12 sasha 2.2k points
0 votes
1 answer 22 views
Problem: I am getting the following error in the Chrome dev console: Uncaught TypeError: Cannot read property 'msie' of undefined As I understand it, this is because {j0}} is now deprecated in jQuery, however I am using the latest version of jQuery tools and it still throws an error. I checked the file jsand it is there. How can I get around this so that it doesn't throw an error?
asked Nov 12 sasha 2.2k points
0 votes
1 answer 18 views
Problem: I am having a problem in learning languages so I am a bit confused about using this code and want to know when the form is submitted and if the validation trigger is true, then the display fails in form.submit (); submitHandler: function(form) { debug: true, ... <input type="submit" name="submit" class="btn green" value="Save &amp; Print" formtarget="_blank" id="spSlip"/> </form>
asked Nov 12 sasha 2.2k points
0 votes
1 answer 6 views
Problem: I am trying to get the value of the change dropdown (and then change the values in the second dropdown). However, when I warn about this, attr (value) is undefined. Any ideas what I'm missing? Here is my code: <script type="text/javascript"> $(document).ready(function() ... ".droptwo").load("ajaxdropdown.aspx?drpType=room&roomid=" + $(this).attr("value") + "&ts=" + ts); }); }); </script>
asked Nov 12 sasha 2.2k points
0 votes
1 answer 7 views
Problem: I need to upload an image using jquery without refreshing the page html page but will display the image that I just uploaded. Can someone show me how to do this?
asked Nov 10 Reina Joy 360 points
0 votes
1 answer 5 views
I have a function foo which makes an asynchronous request. How can I return the response/result from foo? I tried returning the value from the callback, as well as assigning the result to a local variable inside the function and returning that one, but none of those ways actually ... response; // return response; // <- I tried that one as well }); return result; // It always returns `undefined` }
asked Nov 10 Han Li 710 points
0 votes
1 answer 10 views
How come this code throws an when it was OK before? $(document).ready(function() { $('#tabs > ul').tabs({ fx: { opacity: 'toggle' } }); $('#featuredvid > ul').tabs(); }); Results in tabs don't close anymore. jQuery is referenced in the header: < ... <script language="JavaScript" type="text/javascript" src="<?php echo get_option('siteurl') ?>/js/jquery-ui-personalized-1.5.2.packed.js"></script>
asked Nov 10 Han Li 710 points
0 votes
1 answer 12 views
Request: My project requires a table with multiple fields. And I need to insert a dynamic field which will allows me to add and delete up to 5 new information before I save these records into the database? My form is is pasted here: <form method="post" id="myform" action="saveRecord.php"> ... btn">+</button></td> </tr> </tbody> </table> <hr> <input type="submit" name="submit" value="Save"> </form>
asked Nov 9 Reina Joy 360 points
0 votes
1 answer 13 views
Problem: I am getting the following error, even if I have jquery-ui in my application.js file the file 'jquery-ui' could not be found (in / home / jeff / jobs / projects / to / media / app / assets / javascripts / application .js: 14) application.js //= require jquery //= require jquery_ujs //= require jquery-ui //= require jquery.validate.min Can anybody help me?
asked Nov 4 sasha 2.2k points
0 votes
1 answer 11 views
Can someone show me a code that will demonstrate on how to create a live table editing using Mysql, jquery and php? I mean to create a table then I can edit them directly? For example, I have three fields: item_name, item_description, and item_price.
asked Oct 31 RJ Lam 650 points
0 votes
1 answer 7 views
My project needs to populate the drop down list when I opened the page. <label for="country">Country</label> <select name="country" id="country"> <option>United States</option> <option>Australia</option> <option>Malaysia</option> </select> And then populate the second drop down list when I choose a ... >Sydney</td> <td>-33.8650</td> <td>151.2094</td> <td>5312163</td> </tr> </tbody> </table> </div>
asked Oct 30 RJ Lam 650 points
0 votes
1 answer 30 views
Problem Hello Kodlogs I need step by step instructions on how to use jquery ajax and php to fetch data from a mysql database that I have created. I have found certain code snippets but but I am looking for a comprehensive step-by-step example. Thanks in advance
asked Oct 29 hashq 1.1k points
0 votes
1 answer 14 views
Problem Hello Kodlogs, I am working on validating 10 digit mobile number in jQuery on user input. I also want to allow user to use back spance if a number is entered wrong. Here is my code which I got from internet, but I strongly believe this is wrong: <form name=" ... Phone * <input name="mobile" id="mobile" type="number" required> <input type="submit" value="SUBMIT" id="enq_submit""> </form>
asked Oct 29 hashq 1.1k points
0 votes
1 answer 20 views
Problem Hi, I am trying to set a cookie using jQuery: $.cookie("testCookie", "hello"); alert($.cookie("testCookie")); But when I load my page, I receive the error "$.cookie is not a function". have looked at several other answers in which most people suggested renaming ... results are the same. Any ideas on what is going on here? If it helps, I am creating a web application in MVC 4. Please help
asked Oct 29 hashq 1.1k points
0 votes
1 answer 9 views
Hello, I have a small project that requires me to create a dynamic form using jquery and php. This project has two sections. The Left side is the entry of at least two fields: <input type="text" name="first_name"> <input type="text" name="last_name"> Is it possible also to add and delte ... <tr> <td>1</td> <td>Abc</td> <td>Xyz</td> </tr> </table> I would be thankful in advance for helping me.
asked Oct 27 RJ Lam 650 points
0 votes
1 answer 12 views
Is there any sample PHP code that allows me to populate the textbox based on dropdown selection? I need to get the information from the database.
asked Oct 25 azriel 590 points
0 votes
1 answer 13 views
When I right click on a link, it should open another dialog box. How should I enable it?
asked Oct 20 Ahsan 1.8k points
0 votes
1 answer 4 views