• Need Datepicker in order to return date, days, etc in spanish

    Hello, This is my first post on the forum. I am working on a blog that needs to return the date in spanish. I have already tried to change the name of the days and months in the jquery file (attached). Does anybody have an idea of how I might get this code to return the date in spanish? Thanks ahead of time
  • carouFredSel firefox bug

    I'm using the carouFredSel image carousel and it works perfect in safari and chrome, but the main/feature image appears outside of the carousel wrapper in firefox. Can anyone tell me where my issue lies? Test site: http://gbetza.mydomain.com/webservice2/test/KathrynFee/2014/bridgehamptonResidence.html CSS: http://gbetza.mydomain.com/webservice2/test/KathrynFee/2014/css/style.css thank you!
  • Display checkboxes as a dropdownlist?

    Hi,  I have some checkboxes that I need to display them in a drop down list. I was searching on internet but I didn't find the solution for my case. Here is the code: <div class="amenities"> <ul> <li class="junio"> <input id="amenity553a208be5c793" type="checkbox" value="5" name="filter_amenities[]"> <label for="amenity553a208be5c793">Junio</label> </li> <li class="julio"> <input id="amenity653a208be5c793" type="checkbox" value="6" name="filter_amenities[]"> <label for="amenity653a208be5c793">Julio</label>
  • External Page

    Hello, I'm using Jquery Mobile 1.4.2. When I use external page, for example (eia.html) and the rel="external" the transition doesn't work. Is important for me that have external page because have an order in the information. Are any method to have transition in external page? Thanks!!! <ul data-role="listview" data-inset="false">     <li><a href="eia.html" rel="external" data-transition="slide">         <img src="img/arbol.png">     <h2>EVALUACIÓN AMBIENTAL</h2>     <p>Leyes de protección ambiental.</p></a>
  • Succession of fadeIn functions

    I have a succession of fadeIn functions.  I have coded it like so.  It works. $(document).ready(function(){     $("#div1").         fadeIn         (             2000,             function(){                 $("#div2").                     fadeIn                     (                         2000,                         function(){                             $("#div3").                                 fadeIn                                 (                                     2000,            
  • Embed Jquery mobile into non-Jquery Mobile enable page

    Hello,   I am using an online web design tool to build mobile desktop/mobile enabled pages. I don't have access to the html/javascript code being generated by the the tool but am able to insert my own html snippets within the page. I would like to extend the pages capabilities by allowing me to make it Jquery Mobile capable.  Within the snippets I am able to embed both standard HTML and JS, Jquery code to alter elements within the DOM but am not clear on the best direction to do the following: Insert
  • Is it possible for $ajax to read form fields not in the "data{...}"

    Im having to read hidden fields and they will have a different number of fields each time.
  • how to save data that come from json using ajax

    i have script that get from server data using ajax and it's good . but if i try to reuse the data that comfrom json in another script it's not know the variable .My guess because the Anonymous function . can anybody can tel me what i need to do to be able to reuse the data that come from the server.without made calling to the server again . i attach the code that you can see . <!DOCTYPE html> <html> <head>     <title>First jQuery Mobile Example</title>     <!-- the three things that jQuery Mobile
  • Refresh content of dialog

    Hello, I've been loading an external page into a jquery dialog using the below: $('<div>').dialog({             modal: true,             open: function ()             {         $(this).load('viewStop.php');             },                     height: 400,             width: 400,         position: { my: "center", at: "center", of: window },             title: 'Bus Stop - Dynamically Loaded Page '         }); Is it possible to automatically refresh / reload the content say every minute, without closing
  • Refresh the same form after deleting from List view

    Hi, I have one file called index.html and added one page with data-role="page".I've listed some values in that page.After selecting some ids and if i hit the delete button the soap ajax(web service) will form a xml and it will submit to the server and the response will come.The deleted records will not be show in current list.So i need to refresh the same page after getting reply form server.How can i do this ? Here my submit code, $.ajax({              url: wsdlURL,              type: "POST",    
  • Percentage position

    Hi. I'm new to JQuery UI. I'm using JQuery UI to center my elements, but the elements are centered with an fixed position, in pixels. My site has fluid layout, then I want to position these elements with an percentage position. Is there a way to position my elements with percentage instead of pixels using the position() method? Sorry for my bad english. Thanks in advance.
  • Onsubmit show success message on div

    I have 3 forms on a page which i submit by ajax and onsubmit it show a succesful message in a div. the problem is when i click submit on a particualr fomr, it calls all the sucess messages in all the divs. But i want it a particular div to show based on the form that was submitted <tr> <td colspan="3" bgcolor="#FFFFFF"><div id="comment_div"></div></td> </tr> <tr> <td colspan="3" bgcolor="#FFFFFF"><div id="love_div"></div></td> </tr> <tr> <td colspan="3" bgcolor="#FFFFFF"><div id="favorite_div"></div></td>
  • How can I disable the div using jquery before button submit ?

    I have two divs called "Yes" and "No" <div id="object">     <div class="object-content">         I'd say         <div class="confirm" id="btnYes" runat ="server" >Yes</div>     </div>     <div class="object-content" style="float: right">         I'd say         <div class="confirm" style="color: red"  id="btnNo" runat="server">No</div>     </div> </div> And one Comment button called "Post" <asp:Button ID="btnPostUrComment" OnClick="btnPostUrComment_Click" runat="server" Text="Post Your Comment" Height="33px"
  • Accordion activate event. How to detect if a tab is opening or closing

    I'm using a only one tab collapsible accordion, and I would like to detect the "open" operation and to distinguise it from the "close" operation, in order to load the tab via an ajax query during the opening. Any suggestion in order to detect the open and close operations (in the "activate" event, I suppose)?
  • jqGrid: Pass currently selected row parameters

    Hi, How do I pass the currently selected row values (Group, Key, Time, Position) to the editurl (in bold) as a parameter? I have the following code: $(document).ready(function() { refreshGroups(); } function refreshGroups() {     $.ajax({         url: "ajax/refreshGroups",         dataType: "json",         success: populateGroups,         error: handleAjaxError     }); } function populateGroups(jobs){ $(function () {     var grid = $("#list");                 grid.jqGrid({                     datatype:
  • How to push FileList to the previous variable

    hey guys...! Im implementing jquery drag and drop file upload using ajax call to php I have implemented it successfully but i need a little modification and for me it is big When user drag and drop the multiple files im showing them up in a div containing id total . Once the user drag and drop the multiple files for the second time im clearing them up, instead of clearing i need to merge the FileList to the previous files which are stored in a variable upfiles Here is the basic code which i need
  • How to read injected Data from DOM-Object?

    Hi, I store data to an DOM objekt in JavaScript like this: td["dayDate"] = day_date; Now, every cell in my generated calendar have it´s right Date in it´s DOM-Inspector: Now i´m using a jQuery plugin: http://medialize.github.io/jQuery-contextMenu/demo.html If i start a callback over this plugin on a clicked cell-object with: console.log($(this)); ...i get the right object. Example: jQuery(td#calendar_screen_cw2_d3_pjFPK_oemAU.calendar_screen_body_cell✉)   And when i click on that in the console,
  • HELP: Can't pass value to hidden fields

    Hi!, jQuery newbie here. As you can see the codes bellow, I'm trying to pass a value after such event, basically returning the date and age to hidden fields. // Compute age (fld_age) according DOB fields   $('#fld_birth_yy, #fld_birth_mm, #fld_birth_dd').on('change', function(e){     e.preventDefault();     if ($('#fld_birth_yy').val() != 0 && $('#fld_birth_mm').val() != 0 && $('#fld_birth_dd').val() != 0) {       var str_dob = $('#fld_birth_yy').val() + '/' + $('#fld_birth_mm').val() + '/' + $('#fld_birth_dd').val();
  • js array tostring

    Hello, I like the nifty behavior in js where toString() on an array converts the array into a csv. However, the csv is created without spaces after the commas. For example: var accounts = []; accounts.push(123); accounts.push(456); var myAccounts = accounts.toString() //writes out 123,456 Sometimes I want to display this csv to the user so proper formatting would have a space after the commas. What is the easiest and most elegant way to put a space after the commas in a csv like this?
  • Translate attr place holder!

    Hi all, I'm translating my store element's, everything seems to work fine, but I can't manage to translate the attr 'placeholder' acording to the language. Maybe you can advice a method how to do it. Here is the HTML: <nav> <div class="nav-holder row"> <ul> <li><a href="http://stores.ebay.es/100x100ORYGINAL" class="tr" key="tienda">Tienda</a></li> <li><a href="http://stores.ebay.es/100x100ORYGINAL/PAGO-Y-ENVIO.html" class="tr" key="pagos-envios">Pagos y Envíos</a></li> <li><a href="http://stores.ebay.es/100x100ORYGINAL/DEVOLUCIONES.html"
  • Accordion not rendering right in IE 8

    The Accordion created works in Firefox, safari, chrome, opera but I have to manually click to close the top panel only. The panels all work wonderfully but the IE seems not to render at all. Is there something that needs to be added to check for compatibility. The icons images are all correct. The actual main HTML is this --------------------------------------------------------------- The Jquery-UI is v1.10.3 - 2013-05-03 The Jquery file is: jquery-1.9.1.js ---------------------------------------------------------------
  • My confirm dialog is not working as I wanted

    Hi, Im trying to delete my images using jquery ajax and php. And I already have everything working fine, but now Im trying to do a confirmation message in a dialog, and if user clicks on "yes" I do my delete and if user clicks in "no" I close my dialog. But Im having some difficults with my jQuery, when I click on my delete link Im opening my dialog, its ok, but my when I click in my "no" I dont close my dialog. And also When I click in yes, I want to remove but I also want to close my dialog but
  • how to refer child elements of an element in jQuery

    Hi All JQuery Gurus, I have style code:  <style>#RibbonContainer #Ribbon\.List\.CustomViews #Ribbon\.List\.CustomViews-LargeMedium-2-1, #RibbonContainer #Ribbon\.List\.CustomViews #Ribbon\.List\.CustomViews-LargeMedium-2-0 { display : none; } </style> I want to execute it using jQuery. I am looking for equivalent jQuery to the above style tag. Can anybody explains me how to refer child elements of an element? Is this valid jQuery? $("#RibbonContainer #Ribbon\.List\.CustomViews #Ribbon\.List\.CustomViews-LargeMedium-2-1").hide();
  • Sequential Ajax calls

    I've got a validation that requires an ajax call, the validation is done both on the field change event and on the form submit so I've got a named function that does the validation and just call that function from both places. The problem I've got though is that when the form is submitted there is another validation that needs to happen via ajax, this one may or may not be required based on a form value. The validation process I'd like to follow when the form is submitted is make sure all the required
  • For image find attr "title" and replace with "alt"

    I am trying to replace the "title"(not assigned) of each image with the assigned alternative text. For example: Before: <img src="imagesYolloSwag.jpg" alt="swag" width="136" height="143" > // title not defined After: <img src="imagesYolloSwag.jpg" alt="swag" width="136" height="143" >  // title added, and value picked from alt text What am i doing wrong here? Please help. <script> $(document).ready(function() { $('img').each(function() {                   var altX = $(this).attr('alt'); $(this).attr('title').replaceWith(altX);
  • Collapsible.js, how to close when submit form happened ?

    Hi, I am using jquery.collapsible.js : when I click in one of the triangles : My question is how to close the opened one when the form is submitted ? Thanks.
  • slideshow with previous and next buttons to work

    I am trying to get the event handler attached to my Next button to work, and then will have to do the same with a previous button. I am getting a "Not implemented" error in line 8 of the jQuery - I am newer to jQuery and Java, so not sure why this has happening and have exhausted myself trying to find out why. Besides just a fix, an explanation would be appreciated. Buttons in HTML: <input type="button" id="previous" value="Previous" >&nbsp;&nbsp;<input type="button" id="next" value="Next" >jQuery:
  • jQuery Mobile Download Builder doesn't work

    Sorry... today, jQuery Mobile Download Builder doesn't work. Could you please check?? thanks in advance
  • Customize Slider Tabs

    I am trying to customize  Owl Slider http://www.owlgraphic.com/owlcarousel/ by adding Tabs. So that clicking Tab1 shows Slide1 & Tab2 shows Slide 2 and so on. The tabs are working fine. I would like to sync it with the slider so that when Slide 1 is active, Tab 1 is highlighted(add 'activeClass'). Here is a sample file. https://www.dropbox.com/s/jm7p9k9qie2np29/owlTabb2.html Sample Script, based on http://www.owlgraphic.com/owlcarousel/demos/owlStatus.html <script> (function($) { $(document).ready(function()
  • A glitch

    I have a table with the following repeated code in it <td> <span>+</span> <span>some number</span> <span>-</span> </td> and the following code var sign = $(this).text(); var qu = $(this).parent().children().eq(1).text(); var v = $(this).parent().children().eq(1); if(sign == '+') { if(qu >= 10) { } else { qu = qu + 1; $(v).text(qu); console.log(qu); } } if(sign == '-') { if(qu <= 0) { } else { qu = qu-1; $(v).text(qu); } } The code which reduces the number by 1 works fine However the code which increases
  • jQuery - Array GROUPBY

    Hi All, I have some data in an array. I want to groupby the data based on a specific column. Please note, its NOT sorting that I want. Example: Name       Dept     DOJ AAA         D1      1.1.2010 BBB         D2      2.1.2010 CCC         D1      1.1.2010 DDD         D2      2.1.2010 EEE         D1      1.1.2010 FFF         D2      1.1.2010 I want to groupby the data based on DOJ and then based on dept. So, the output should be as below: Name    Dept    DOJ AAA      D1       1.1.2010 CCC      D1  
  • Passing parameters to url

    Hi, I am new to javascript and jquery but found the jqgrid plugin very useful for what I am trying to do. I found a sample code online, which uses jqGrid with local data, you can find the complete code here: http://jsfiddle.net/hE2GB/9/ I have added the two lines for "url" and "editdata" similar to the example code below to editsettings {} on line 114. It seems to be calling the url correctly, but for editdata, i want to pass the selected row as a parameter which doesn't seem to work using the code
  • problem with dividers

    in the next file when i run it . the list it create for me have two name 'house' and 'tree'. the problem that the list is not autodividers , only when i search for name in the list it make the list with dividers <!DOCTYPE html> <html> <head>     <title>First jQuery Mobile Example</title>     <!-- the three things that jQuery Mobile needs to work -->     <link rel="stylesheet" href="jquery.mobile-1.4.2/jquery.mobile-1.4.2.css" />     <script src="jquery-1.11.0.js" type="text/javascript"></script>
  • Fixed-Header with extra columns.

    hi, I am using fixed-header code for my table on vertical scroll, its working fine for all column name except last two (balance and pay status) because they are going out side page (horizontally). and when i scroll from bottom to see the last two columns values , the fixed header only show the columns till advance, fixed header not showing last two remaining columns that go out side page horizontally. Check the screen shots for better understanding. image-1 you can see all column till pay status.
  • how to load different page content using Jquery / ajax

     i have two menu panels . i need to load contents without refreshing page.  how i do it left menu --------------------- <ul> <li><a href="1.html"></a></li> <li><a href="2.html"></a></li> <li><a href="3.html"></a></li> </ul> right menu left navigation --------------------- <ul> <li><a href="a.html"></a></li> <li><a href="b.html"></a></li> <li><a href="c.html"></a></li> </ul> <div id="content"> </div> i need load pages in #content div.. pls help me to write script . i need one script for all links
  • cant click a dynamically generated element.

    I have a HTML table which is dynamically generated The <table> <thead> all tr's and td's within the thead and <tbody> are generated using $.append() The TR's and TD's and content of the td's inside the <tbody> are created using $.each() I want to use .on() on these elements .on() works for the elements generated by append() but it does not work for elements generated by each() why is this?
  • $append() inconsistent behavior

    I have discovered that if you use $('body').append("<table>"); a full table element is appended ie debuggers show that both <table> and </table> are present. But if you use $('body').append("<tr>"); only the opening tr is created. You have to use $('body').append("<tr></tr>"); to get the full element. If you use $('body').append("<table></table>"); then the closing tag gets duplicated. I noticed this with some other HTML elements as well. Why does append() show this difference depending on what is
  • Getting and setting from XML

    I want to display a list of results from an XML file. When you click an item from the list of results it displays the selected value in a separate div and when you confirm it it saves it to local storage. Any Ideas? Thanks
  • ejecucion de varias "ordenes" mediante un boton

    hola, Estoy Intentando implementar un boton En Una pagina de php Con Una Rutina de HTML Incorporada (este boton esta Dentro de la Rutina html) aqui el codigo: <script language=JavaScript> function calc() {  vent=window.open('','tpv','width=725,height=600,scrollbars=no,resizable=yes,status=yes,menubar=no,location=no'); document.forms[0].submit();} </script> ........ <a href='javascript:calc()'><img src='img/imagen.png' width='94' height='31' /> como veis, al pulsar el boton hace una llamada a la funcion
  • apk wrapper for my website

    ¿There is available some apk wrapper for contain the internet navigator with my website url? Thus, I have made my website, I have the url to type in the internet navigator, but don't want the end user have to type the url nor uses an shortcut because then in the navigator the url is visible and the user can change it. I would like develop -or even better use some existing wrapper or so on- an apk containing my website. The apk will be suitable for sending by email to users, or download from web.
  • 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