• Newbie: Licensing requirements?

    Hi,    Was just wondering what are the licensing requirements of jQuery and jQuery mobile when use in a commercial but free mobile app such as one built using phonegap? Is it enough to include the MIT license file in the App's binary and/or is it also required to show the license in say About or Credits screen in the App? Is that the way it is typically done and, if so, is there an example of an App doing that way? Searching the Web yields different kind of answers...and so trying to understand what
  • Validate a field (input box) and how to show a window.

    hi friends, i think this question is easy i explain my process: 1) i have 3 fields, and 2 buttons (SAVE and RESET)    1) Capture NAME    2) Capture TITLE    3) Capture AGE. Initially the 3 field have a empty value. I start capture the NAME (if here the user click on SAVE button) i need show a message, saying: "Need Capture AGE" and focus to capture AGE field. i know how do it but after subbmiting the data (with php, check and do nothing)... but i think exist other wa. Note i searched on the forum
  • tabletools and tabs

    Hi All i have an ajax loaded page on one of the tabs which has tabletools and also current page has tab content with tabletools both of the pages impoting datatbles and tabletools js and css, and tabletools buttons does not work on current page. I have another page with ajax loaded content on one of the tab and does not have datatables/tabletools , then the current page tabletools buttons work on click. I observed that when the ajax loaded page has datatables js and tabletools js referred then somehow
  • change the closest class to my clicked button

    Hi all I have a class applied to many different elements throughout my site.  On one page I have a button which when clicked needs to update one instance of this class (the closest instance to the button) in the DOM but I cannot get this to work. A loose example of my HTML is below: <p class="thisone">text here</p> <p>blah blah</p> <p class="thisone">other text here</p> <input type="button" id="mybtn1"> What I need to do is ensure that when the #mybtn1 button is clicked, only the closest instance
  • Display JSON data

    i WANT TO DISPLAY {"stnm": {"stop_nm":"AZ","bustime":"06:31 AM"}} {"stnm":{"stop_nm":"A","bustime":"06:35 AM"}} {"stnm":{"stop_nm":"DA","bustime":"06:40 AM"}} {"stnm":{"stop_nm":"SI","bustime":"06:50 AM"}} {"stnm":{"stop_nm":"DA","bustime":"06:55 AM"}} {"stnm":{"stop_nm":"DEH","bustime":"07:20 AM"}} {"stnm":{"stop_nm":"SIKA","bustime":"08:02 AM"}} {"stnm":{"stop_nm":"SIKAN","bustime":"08:02 AM"}} HOW TO DISPLAY THIS DATA INTO JQUERY TABLE
  • simplest way to create a register page for new user

    simplest way to create a register page for new user
  • How to load pre selected items of a jquery selectable

    Hi I have recently created an application that uses a jquery selectable I have managed to store values that users have selected to a database.The problem i am now facing is if the user would like to change the values which they have selected they would open an edit page which should load the selectable with the values stored in the database.I am able to retrieve the values from the database i am not sure on how to get the values to be selected though Thanks
  • Table column toogle popup UI not refreshing

    See this Fiddle , first click the column button enable the fouth and fifth columns, now click the Add row button the fourth and fifth rows are hidden from UI but again click the colum popup the fourth and fifth columns are checked. (Fourth and fifth column are hidden because of table refresh,but if remove the refresh then the toogle is not working for dynamic rows,how to remove the check or how too manage the items should be visible)
  • Why are my dialog close buttons disabled?

    This is really perplexing.  I'm opening a dialog upon return from an ajax() call, using the returned html as the container.  I've done this before in another application with no problem.  However, in this app, everything works OK with the popup, except that the close button is disabled, and I am not disabling it anywhere in my code.  Here's the call to dialog (in coffeescript): $.fn.openDialog = ->   container = $(this[0])   container.dialog     autoOpen: true     height: "auto"     width: "700px"
  • slider events

    Hi, I am using jqm 1.4.4 in a multi-page website and I would like to catch the state of a slider when a user swiped or taped the slider. I'm trying to do it like this : <div class="ui-field-contain">   <label for="slider-'+key+'">flip-'+key+'</label>   <select name="flip-'+key+'" id="flip-'+key+'" data-identity="'+key+'" data-role="slider">     <option value="off">Off</option>     <option value="on" selected>On</option>   </select> </div>'                                     $("#flip-"+key).bind('change',
  • tablesorter with 2 header rows

    Is it possible to use the tablesorter plugin with 2 rows of headers and sort on the second row?
  • Theory of jQuery: how does it work?

    I am not educated in this field, try to get a hold on it by trying out a slide-script (see below, google it!), but I don't understand anything of the jQuery part, how it works. I look for a place to study this aspect: can anyone give me a place where I can study jQuery/combined with Javascript? ("bxslider")
  • How can I retrieve the "id=" parameter?

    The following will retrieve the text in a table cell. $("td.room").click(function() { var room = $(this).text(); Instead of the text how can I retrieve the value associated with "id="? For example <td class="room" id="yyy">aaaaa</td> $(this).text(); will retrieve aaaaa I want to retrieve "yyy". Is there a better way to do what I want? When a cell is clicked I want a non displayed value passed back to the script.
  • To add and to remove classes with delay

    Hello: I need to do a function JQuery that, to every image he adds a class css and after a delay she is removed and then it does the same thing with the following image. In my page html have: <h2>Seleccione una tematica</h2> <div id="container">     <p:dataGrid value="#{backingTematicas.tematicas}" var="tematica" columns="4">       <h:form enctype="multipart/form-data">          <div id="img">             <a href="#"> <h:graphicImage class="no-selected" value="imagen/#{tematica.img_path}"/></a>  
  • Click event not responding

    Good morning all;   I am experiencing an issue with a button and the JQuery click event handler.  The handler is not firing.   This is the button. < input type ="button" id ="ChangeSubCLIN" value ="OK"/> Here was the handler as originally configured. $("#ChangeSubCLIN").click(function (e) {         debugger         var CtrSubLineNumber = $.trim($("#tdEditSubLineNum").text()) + $.trim($('#PRSubLineNumberCharPart').val());         var CtrSLQty = $("input[id*='CtrSubLine_SubCLINQty']").val();        
  • editing html with jQuery / selecting a value and then putting it back with out and id or class

    Hello everyone, I am having a problem with extracting the information with in a <tb> which is located in a auto-generated html page. Please see the picture below. Bellow are thinks that i have tried: $(document).ready(function(){     var toAdd = $("#WebPartWPQ2).parent().parent('tr:eq(2)').parent().parent().parent().parent()").closest('tr').find('td:eq(1)').text(); }); alert(toAdd); I cannot seem to get the content of "test222" to appear.  Could someone please advise of how I can make this work using
  • What does the function positionEventHandler(*) do when viewing a map?

           //This function:           function positionEventHandler( e, geo ) {           map.geomap("remove", point2);           map.geomap("remove", line);                 var eventRowClass = "." + e.type;                  $(eventRowClass + " .date").text($.now());             console.log(geo.coordinates.join( ", " ));             getEmissions(coord[0], coord[1], geo.coordinates[0], geo.coordinates[1]);            point2 = {                 type: "Point",                  coordinates: geo.coordinates
  • jquery tabs and tabletools

    Hi All, I am using jquery 1.7.2 and TableTools 2.2.1 with DataTables 1.9.4 I have an issue with jquery tabs and tabletools being used together. Some of my tabs are loaded via ajax call and some tab content is on the page itself which has the tabs initialized. But I am not able to save as CSV/PDF when I click on the Tabletool buttons. It works fine on the first tab , which is ajax loaded, but does not work on the tab content on other tabs of the page. I used the folowing code to resize buttons but
  • Issue with on change event

    Hi I'm populating a text field dynamically with Postcode Anywhere API. The alert below works only when I manually edit the text field #input_42 and not when the field gets dynamically populated. Can anyone tell me what the issue is? Thanks jQuery('#input_42').on('change', function() {  alert(jQuery('#input_42').val());  });
  • Js file not getting loaded in html page But works fine when doing refresh in the server side

    Hi, I am developing an app using jquery mobile am new to this jquery mobile. i am facing one issue that is i am about to use the js file which is there in the assets folder i have also given script tag into my html whenever i tyr to see the html page in the browser js file is getting loaded properly for the very first and everthing working fine  locally .Once i place my files in server the above mentioned flow not working properly .probably i am not getting the js file in the source folder when i
  • Open popup window and close with timer

    Hi, I'm using a popup frame to display a video. It works but I want it to automatically close once the video is done playing (which is 23sec). What am I doing wrong? setTimeout(function() {          $('#companyVideo').trigger('click');         window.parent.$('#companyVideo').dialog('close'), 23000     } );
  • ui-autocomplete select event not fired on mouse click

    dear all,   i am using JQuery UI v1.11.0 my autocomplete is working fine, except this case : when i click on a menu item, "select" event is never fired, unless i click exactly on the text within the item.. only then the item is clicked, and "select" is fired   here is my code for creating autocomplete: function CreateAutoComplete(sourceArray, labelTextBox, idTextBox) {   $("#" + labelTextBox).autocomplete({ source: sourceArray,   open: function (event, ui) {   $(this).autocomplete("widget")
  • How to get value from the JSON response

    Hi, I get the following response from the server: {"aster":"3","daffodil":"4","rose":"3","totalItems":10,"totalPrice":"31.90"} and, I want to put it in the table that will look like this: The problem is that I do not know how to get values (for the "Quantity" column). This is my code: function processServerResponse(data) { if (data.products.length > 0) { $("#orderForm").hide(); $("#summaryForm").show(); var html = ''; $.each(data.products, function(key, value)
  • Ted Devito DatePicker

    Hi im new in jquery, my client use ted devito datepicker. Doesnt wanna change to jquery datepicker :(. Anyone know how to getDate in this teddevito datepicker? i tried to read the code, find getDate but i can't found it or maybe nothing getDate there. I just wanna this datepicker back to select month or year i selected. Example : first I choose 2014-05-12 and try to change date but this datepicker just comeback to today date :( , not 2014-05-12 Here it is the code : /**     the script only works
  • How to delete few pages from pdf file & merge remaining pages in original file?

    Hello Everyone,        I am working on pdf file. My requirement is from the selected pdf file, i need to split the pages from range(from and to), create new pdf file with that pages and saving the original file(i.e merge remaining pages).      Is it possibel with jquery or javascript. Any suggestion or reference  would be appreciated.  Thanks  Satish Chandragiri
  • how to make tab to stay in the current tab after submitting the form

    I have 3 submit forms in tabs.after submitting the form it displays the msg registration succesfull.but it goes to home page so only after clicking the particular tab im can see the msg.i want to make the tab to stay in the current tab after submitting the form.plz help ASAP!!     <div class="tabs">     <form id="target">         <ul class="tab-links">             <li ><a href="#tab1" id="tabs-A" >Incident Report</a></li>             <li><a href="#tab2"  id="tabs-B">Death Report</a></li>        
  • Problem with combobox in Internet Explorer11

    I have a problem with the object combobox, the demo has the same problem, if you open http://jqueryui.com/autocomplete/#combobox on Internet Explorer 11. The steps to see the problem: 1.-open http://jqueryui.com/autocomplete/#combobox on internet Explorer 11 2.-Expand clicking the arrow of the combobox 3.-Now you can see the arrows and the scrollbar. If you move the scrollbar it  runs ok, but if you click on  top arrow or on the down arrow  the items of the combobox disappear. This is my problem,
  • I am looking for a programmer

    Hello all: I am looking for a programmer for a special project.  We need a diagram of the brain - in grey scale - which we have now. Then, we have mapped out regions of the brain that we want to glow from zero color to blue.  Or we want to go from zero to yellow and also zero to orange. Each brain region - probably 25 to 35 regions would have the ability to glow in any of the three colors. Teaching brain regions by way of visual colors - blue is cool or OFF, etc. I visualize my browser page with
  • Simple background color switcher problem

    I have created a simple background color switcher and it switches color only on the first click, but doesn't remove it on the second. Here's an excerpt of my HTML and jQuery in its entirety below it: <body> <button> Change </button> </body> $(document).ready(function(){ if(!$('body').hasClass('bg')){ $('button').click(function(event){ $('body').addClass('bg'); }); } else{ $('button').click(function(event){ $('body').removeClass(); }); } }); Could you please help me resolve the issue and point out
  • $ (Jquery) undefined

    Hi, I read a couple of posts to solve the $ undefined error, replacing the <src> link to include the jquery file. First used the local: <script type="text/javascript" src="1.7.2.jquery.min.js"></script>  Then used the external: <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>  Get  undefined on line 8: $ $.getJSON("/data2.json", function(data) I would appreciate any assistance.. <!DOCTYPE html> <html> <head>     <title>Test - Reading data in JSON format</title>
  • jQuery-File-Upload clean FormData with autoNumeric

    Hello Everyone,  I need a little help. I`m use the jQuery-File-Upload plugin to upload files to my server with additional Formdata Now i want format the input values with autoNumeric but it have to send clean (without any delimiters) to the server. How can i clean the from values bevor sending? This is how i try it: function initAutoFileUpload() {         'use strict'         $('#fu-my-auto-upload').fileupload({             url: baseadd + '/ImportReichweite/Excel',             autoUpload: true,  
  • Paging on auto-complete options

    Hi all We have a auto-complete text box where it has chance to show more than 10K options previously we are using Flexbox(http://www.fairwaytech.com/flexbox/flexbox-demos/) for it and decided to replace that with Jquery UI plugin which lookes more stylish. Is there any plugin for it? Any help on how to implement using Jquery?
  • Issue with dragArrange pugin

    Hi there I have a small problem with the drag function. I have set the elements-container div then the .draggable-element  Then when I drag one element, which is in the middle of the page, the element appears at the top of the page. It doesn't stay below the "move like" cursor but it flies like a kite above my mouse. What's wrong with the css ? Thanks for any help Fred
  • Find the Id of div clicked

    Here is the fiddle  I want to find the id of div when save button is clicked which is in the dialog box.
  • How to use Datepicker together with Position?

    I have some problems combining Datepicker and Position . I tried the following code and it didn't work at all. $('input[type="date"]')     .datepicker()     .datepicker('widget').position({         my: 'left bottom',         at: 'left top'     });
  • Creation my own plugin for form validation

    I am trying to develop a validation plugin to validate forms using jquery, but I can´t to execute some action after a successful validation, I don't know how to return a value from my plugin or to execute a callback after a successful validation. jquery_validacion_form.js (function($){ $.fn.extend({ validate:function(){ var success=true; return this.each(function() //var $this=$(this); if($(this).attr('class')=='required'){ if($(this).val()==''){ $(this).css('border','1px solid #FF0000'); success=false;
  • trouble getting "shiner" plug in working

    Hey guys and Gals! I just bought a jquery plug in called "shiner- HTML5 Canvas Glow Effects Jquery Plugin." I cant seem to get it working and I'm not 100% sure why. I'm using bootstrap framework and have it placed where I want it on the page. I have the script placed correctly (I think, but could be wrong) in the head, and to make sure jquery was active I placed a script from google's content delivery network. I dont think that was necessary obviously, but it was worth a shot. I have all the CSS
  • Getting images to update

    Yesterday I managed to save my images to the database, but now when I try to edit the image and then save it, it doesn't save. I'm not sure where I'm going wrong. All the content saves except for the image. Here is the test.js $(document).ready(function(){     $(".add-form").submit(function(event){         $(this).find(".testing").each(function(){             var image = [];             $(this).parent().find(".ajax-file-upload-statusbar").each(function() {                 image.push($.trim($(this).find(".ajax-file-upload-filename").html()));
  • Strange scrolling bug with hover/textshadow and Chrome mobile

    Hi, I've encountered a very strange problem and would like to know if this is a jquery mobile issue or a browser issue. The problem only occurs in touch environment and on Chrome, but not with Firefox. Prerequisites: - Use a modern Android phone or current Google Chrome with developer tools and device mode set to e.g. Nexus 5 Detailed instructions: * Open http://jsfiddle.net/3fegnd2v/2/ in Chrome and open the developer tools (Ctrl-Shift-J) * Select the "Toggle device mode" botton (next to the spyglass)
  • Problem with checkboxes in JQM on devices and not browser.

    Hi, I am trying to implement a set of checkboxes in my code but have ran into trouble.  I have searched the Internet but still cannot find the answer. The problem for me is that it works fine in a browser but not on an actual device. Here is a basic fiddle of what I am trying to do: http://jsfiddle.net/s3usyxr3/. The problem is after the checkbox is checked it retains the focus, so if I check another box the former box name will still pop up in the alert box instead of the new one. Also how do I
  • Next Page

  • Announcements

  • The Basics of jQuery AJAX

    A step-by-step tutorial for those new to jQuery and wanting to use AJAX in their projects. Includes valuable information about troubleshooting using the console and understanding the request / response. http://jayblanchard.net/basics_of_jquery_ajax.html
  • jQuery Conference 2010: Boston Announcement

      The jQuery Project is very excited to announce the jQuery Conference 2010: Boston on October 16-17, 2010.  The conference will be held at the Hilton Boston Logan in Boston, Massachusetts.  The best part of this announcement is that Tickets are on sale now!  This venue is the largest that the project has worked with to date (Harvard Law School in ‘07, the MIT Stata Center in ‘08 and Microsoft New England Research Center in ‘09) and we expect to sell out very quickly. A brief synopsis of some of