• Click link within panel then click Back Button back to the active panel?

    I am using the accordion widget.  I have some hyperlinks on each panels. For example, when click on a hyperlink within the panel 2, it goes to its page.  when click the Back browser button, I want it goes back to the active panel which is open, but it always goes to the 1st panel.   Sometime it works on panel 2, sometime do not.  Also, it works on Firefox only not other web browsers.  Can any one guide me how to solve the problem?
  • how to create pretty checkboxes with jquery ui

    I have been trying for a while now just to create just the basic set of checkboxes that I've seen in jQuery UI.  I've searched google and this forum and found little help.  I have included jquery and jquery ui and the jquery ui css.  The one thing I was unsure about was what to include in my custom download of jquery ui.  From my research I think it is the "Button" module.  Is this correct? Thank you Mike
  • Window .scroll not working in mobile

    Hi, The below script is not working in the mobile. <script type="text/javascript"> $(window).scroll( function() { if($(window).scrollTop() == $(document).height() - $(window).height()) { alert("it works"); } }); </script>Please advise me. Really urgent project. Thanks
  • Declaring CSS and JS

    Is this a proper way to declare my CSS and JS?  Am I missing something? <link rel="stylesheet" href="_jquery/jquery.mobile.theme-1.2.0.min.css"> <link rel="stylesheet" href="_jquery/jquery.mobile.structure-1.2.0.min.css"> <link rel="stylesheet" href="_jquery/jquery.mobile-1.2.0.min.css"> <link rel="stylesheet" href="_css/main.css"> <script src="_jquery/jquery-1.8.2.min.js"></script> <script src="_jquery/jquery.mobile-1.2.0.min.js"></script> <script src="_jquery/cordova-2.2.0.js"></script> Thanks.
  • Any examples of using Cycle or Cycle 2 with BlockUI plugin?

    Just wondering if anyone has mixed Cycle2 with BlockUI?  I'm able to use cycle in lightbox or colorbox, but I thought it would be cool to use the two plugins above to get the job done. I've experimented a bit without much success. I'm a good html and css coder, but I'm not up to speed with javascript yet so it takes me a little time to get these things working.
  • JS works when literal used as parm, but not variable

    Hello, Im using an autosuggest js that my company was already using. When I use a literal in the parm it works, but not a variable. For example: var thissugg = new AutoSuggest("THISID", autosugg); // works var $thisid = $(this).attr("id"); var thissugg = new AutoSuggest($thisid, autosugg);  // does not, but will contain the same value. Wazup ?
  • missing custom theme in download

    Hi   I downloaded a custom theme that I created with the theme roller http://jqueryui.com/themeroller/#zThemeParams=5d000001001406000000000000003d8888d844329a8dfe02723de3e5701dc2cb2be0d98fe676bb46e85f3b85ff2d347a9c5170a6c17a4a3d926b08b9d199c4e573fcbf9cc1a2dd092a9d80b6fda5395ff84763f9e74d6cee21250c8f33243ef1589abab919cf7e8298f8769fec181781bf142e5e800e171d39cdf17e9a71fa3f781e8d76766b23c44b6d7f1e75c1abeef4410d820c31ef0620d79195b33d4cfc1e768094ce05fee304b2ad41db26904aed74c8c374ce1ff1c0a5c42f56dac08ad8961127638038b61b2703209b4091d7fb93a47a1d3e43a67c5a94b7e29c959f13c24559cb1a76b1bec1a71f1949db710f4557f3d1da2d39f90aff28f2b6ba8dd96ed5f5a0015166ef5567f70537d248d57b05c70e4fcc5845d9e1610b45d0d394c32ba0d5f992c00dca92aefe65863782767fcedea56a04e59e78457e74c5f1b23fdcd98c0b6bf4dbbe623d93fcb961477a3b6ff6f49245a0d75647ac7dcf1c860ed9882370de9a120924b3eaa4d72b858c41bd8bfbc944508a9fda3a42ff055dfa6e2ef96330dff48fe7a403db64306e0229493b498532edda2985338cbfd2dca06a59153f6300753623a533e25248b8dca8c2261083a9ebf73103a260168b2f957d138e17a4c80b5a901f1b748cff996db44f467265f09d1234456b9819fee221715dc98870f7e120db924d76acd66a3c270b2ee627140195c5c9e869d89c5acdf9330a84af5ae2c6c31792faa3aa55240bbecb844cb72dc1718194fff63506a7
  • Need help displaying multiple MySQL rows using AJAX

    Hi,   I am trying to display multiple rows using ajax.  I currently am able to pass the json string back to ajax and loop through the array.  Right now my ajax call only displays the last record in the table instead of all records (should be 2 in this case).  The variable "len" is correct with the number 2.  So it loops through twice but only displays the second row.  I am trying to figure out how to print out each row before it loops to the next row.  Any help would be greatly appreciated! Thank
  • function works in document.ready but not as a normal function

    Goodmorning, i have made een function and it works on document.ready, but it doesnt work when i put it out of document.ready....:/ here is the code: //event openen var klikevent = function() {     var imgid = $(this).find("img");     var id = $(this).attr("data-id");     var string = 'id='+ id;         $.ajax({            type: "GET",            url: "event.php",            data: string,            cache: false,         success: function(data){         $("#content").html(data);     }     }); } this
  • impact of null object refs in jquery?

    Hello - In jQuery is there any impact to calling methods on object references that don't exist?  For example, consider the following:   var currencyFields = {'aMyCurrX','aMyCurrY','aMyCurrZ'};   $(    $.each(currencyFields, function(i){ FormatCurrency(currencyFields[i]); }); );   function FormatCurrency(fieldId) {    //just a placeholder for now    alert($('#' + fieldId).value()); }   In the example above, the page is generated dynamically and not all curr fields will necessarily exist on the generated
  • jQuery Mobile form submission issue

    I have a fully working piece of PHP, HTML code but when I place it into my website that is styled using jQuery Mobile the submit button will not display the query. Does anybody know how to fix this or even why it is happening? <html> <html lang="en"> <head>   <meta charset="utf-8" />   <title>The School of Computing and Mathematics</title> <meta name="viewport" content="width=device-width, initial-scale=1">   <link rel="stylesheet" href="themes/project1.css" />   <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile.structure-1.3.0.min.css"
  • Jquery scripts with jquery mobile transition

    I have a site with multiple pages. I use jquery mobile for the page transition between pages. The transitions are working fine but the jquery scripts that I use on that linked page like masonry and royalslider don't work anymore when the second page is loaded. I Know I have to use a pageinit Instead of $(document).ready(). When I use "$(document).live('pageshow',function(event) {alert("test");}); The alert will work on the second page. But when I put the code for calling the scripts(masonry and royalslider)
  • link to and select tab

    hi all.... i'm trying to link to a specific tab and activate it from the same page. i'm using this code for my tabs $(document).ready(function() {    //Default Action  $(".tab_content").hide(); //Hide all content  $("ul.tabs li:first").addClass("active").show(); //Activate first tab  $(".tab_content:first").show(); //Show first tab content    //On Click Event  $("ul.tabs li").click(function() {   $("ul.tabs li").removeClass("active"); //Remove any "active" class   $(this).addClass("active"); //Add
  • How do I get in touch with jQuery Mobile developers

    I would like to suggest incorporating these free icons http://www.webhostinghub.com/glyphs/ into jQuery mobile, but I can't reach the development team. What is the best way to contact them?
  • Calling external server files

    Is there an API call for calling external files? I'm trying to get the output from a server side file to be displayed on my page preferably through a JQuery mobile method. This returns an HTTP error: 0. Help Please
  • PhoneGap Native DateTime picker?

    Hi, I'm using PhoneGap and jQuery Mobile. I can't get my galaxy s2 phone or nexus 7 tablet to open the native datetime picker on a <input type="datetime"/> yet in the jQuery Mobile docs, where they show how jQuery Mobile styles a Datetime element, the devices native datetime picker appears. Is this because the browser has implemented functionality beyond the Cordova PhoneGap wrapper? Or have jQuery Mobile done something clever to make this input element type work? Many thanks.
  • Jquery Validate - IE6/7

    Hi all, Hoping someone can help me .... sadly the answer is not just upgrade the browser (though I'd love to). I have a form that has 2 select lists.  I'm utilising the .clone() function in jquery to move the selected option from one box to the other.  All works well. The problem comes when the user validation fires and finds that there is a problem in any of the fields in the form.  What then happens is if the user then uses the "move" button the form actually submits the Text of the select box
  • Superfish custom sub menus

    Hi Forum, If you navigate yourself towards this URL: http://cypresscottage.co.za/index2.html You will notice that the current main menu is made using flash, and if you look at the sub menus, you will see that it's quite custom made using flash. The sub menus sit next to each other and as well on top of each other. Question: Do you think this can be recreated using Superfish? The sub menus mainly, and how would I go about it? Thanks, Dale
  • How can I display a jQuery Dialog from code behind (VB) in Visual Studio?

    Is it possible to run a name jQuery function from an event in code behind? Say an on-click event or as a result of a true "IF...then..else" statement? Any helps would be most appreciated. thanks
  • Intellisense error is Visual Studio for jQuery

    I keep getting this error: Warning    1    Error updating JScript IntelliSense: C:\Users\XPSM1530\Documents\Visual Studio 2008\Projects\jQueryTutorials\jquery-1.9.1.js: Object doesn't support this property or method @ 1318:1    C:\Users\XPSM1530\Documents\Visual Studio 2008\Projects\jQueryTutorials\gettingStarted.aspx    1    1    jQueryTutorials It pops up on a new asp.net webform page so there is no code it can really error on, so its has me really puzzled. The error means that my intellisense
  • jquery works, but not ajax

    I am using a .net4 user control, and after viewing data...all events and ajax working correctly,  the table data is updated by way of a C# server code, the data appears correctly, and mouseenter/mouseleave events fire, but the ajax does not execute! is there some kind of registration of async event or binding i should be doing with the ajax?      var prm = Sys.WebForms.PageRequestManager.getInstance();     prm.add_pageLoaded(PageLoadedEventHandler);     function PageLoadedEventHandler() { .......
  • Get Number of Charaters with HTML

    Hi, I want to get some number of characters placed inside p tag with HTML. how can I do this?? Please help me out??
  • Themeroller 502 Bad Gateway

    Help! I need to create a theme using Themeroller but the site is completely not working. If you go to the main Themeroller page you get the following 502 error: "NetworkError: 502 Bad Gateway - http://download.jqueryui.com/themeroller/parsetheme.css?ffDefault=Lucida%20Grande%2CLucida%20Sans%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=deedf7&bgTextureHeader=highlight_soft&bgImgOpacityHeader=100&borderColorHeader=aed0ea&fcHeader=222222&iconColorHeader=72a7cf&bgColorContent=f2f5f7&bgTextureContent=highlight_hard&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=362b36&iconColorContent=72a7cf&bgColorDefault=d7ebf9&bgTextureDefault=glass&bgImgOpacityDefault=80&borderColorDefault=aed0ea&fcDefault=2779aa&iconColorDefault=3d80b3&bgColorHover=e4f1fb&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=74b2e2&fcHover=0070a3&iconColorHover=2694e8&bgColorActive=3baae3&bgTextureActive=glass&bgImgOpacityActive=50&borderColorActive=2694e8&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=ffef8f&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=25&borderColorHighlight=f9dd34&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=cd0a0a&bgTextureError=flat&bgImgOpacityError=15&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffffff&bgColorOverlay=eeeeee&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=90&opacityOverlay=80&bgColorShadow=000000&bgTextureShadow=highlight_hard&bgImgOpacityShadow=70&opacityShadow=30&thicknessShadow=7px&offsetTopShadow=-7px&offsetLeftShadow=-7px&cornerRadiusShadow=8px"None
  • How to close browser app using jquery mobile

    Hi I'm using Html5 and jquery mobile to develop and i wanted to have close button on header area which closes entire browser app.Could someone suggest a solution. Quick response highly appreciated. Thanks, Aparna Unny
  • problem with jquery

    guys please help me....i have learned html and css and jquery recently...html and css are working well.....but jquery codes are not working at all i wrote the codes in the notepad and saved it with .js extension but not working.......please help i am in great trouble
  • No Idea how to get started with editable table tent project.

    Aloha gang,   I am going to try my best and hope you guys can help point me in the right direction.   What I want to make is a table tent template that will allow other people via a webpage make the nessary changes to the rates and destinations that they want.   Here is what the final product will look like: http://honoluluhostingcompany.net/homies/homies2.pdf   So what I want is to be able to do is click on the individual pieces and make text changes to them.  So for the access number I would click
  • Need a small help for a jquery code fix

    Hi all, I am making a jquery game. I am facing issues in hitTest and jquery animation. One animation affects the other object animation. Please help. Please get the attached files to see it.
  • how to convert Jquery Var content to XML Content

    Hi everyone, I am currently working with Jquery and my entire project needs to be done only using sharepoint Client Object Model (so i cant make use of server side coding). I have created a xml structure (by appending some string together) and stored it in a jquery var variable. Now my variable content looks like this         <Collection xmlns="http://schemas.microsoft.com/collection/metadata/2009" xmlns:ui="http://schemas.microsoft.com/livelabs/pivot/collection/2009" SchemaVersion="1" Name="listname">
  • Jquery Isotope and space between rows

    Hi, in one of the project use Jquery Isotope with Category rows layout. I dont understand, how to add more margin or padding between rows. I have shown in the screenshot where I want to add space Thanks!
  • [Solved] Isotope Filtering effect

    About 2 hours ago i embedded the jquery Isotope filtering function in my drupal page as you can see here: http://sarahraaber.com/artwork_v2 The filter works fine, the only thing i dont get is, why the "filter effect" as you can see here: http://isotope.metafizzy.co/demos/filtering.html wont work. I tried the same stuff on a simple html page and anything works fine after 2 minutes work... :-/ Any idea how to fix that? Greetz Basti EDIT: Got it solved by just adding the needed css code -.-" http://isotope.metafizzy.co/docs/animating.html
  • help required filtering in jquery

    Hi,  i want to use filter in jquery but not gtting how to proceed with it. i have written below script. actually i want to do is, on click of .leftSelect i want to hide the current div and show previous. but only if parent is talkNowOptionsSkip i want to show some other div. this is not working which i have written below: $(".leftSelect").click(function(){ $(this).closest('.closed').hide(); $(this).closest('.pushLeftPressed').prev().show(); }); $(".talkNowOptionsSkip .leftSelect").click(function(){
  • Issue : Table Reflow

    If we have used classes to seprate table headers then in case of reflow the Table Header and Table Data Value does not have any difference in them.   If the classes of Header Value and Data value can also be maintend while reflow then it will enrich user experience.
  • Formatstring in highlighter

    Hi, Using highlighter I think the formatString doesn't work as expected. The format I like to have is e.g 23.1 as a float number. But I get 23.0 as a float number but rounded to zero. I have the following little problem:         highlighter:{           show: true,           tooltipAxes: 'y',           sizeAdjust: 12,           yvalues: 3,           //useAxesFormatters: false,           formatString:'%0.1f #serieLabel#'         },How can I get the correct numer? Thanks in advance Guido
  • [cycle] isReady callback

    hi! does anyone know if we have someway to validate the cycle init? i mean ... can i have a callback function like onSuccess ? or maybe  ... isReady where i can do more stuff after cycle is ready?? ... 
  • How to open a modal window when clicked on link present in each row of a table

    I am using jquery  to opena modal window. To start up with I am using same code as present in jquery demo for form modal window. Button which triggers modal window is present in a column of a table and each row has this button. My problem is button present in first row only works and all other button in the table does not work.  Here is related code: <head> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />   <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
  • Call a PHP function on SELECT element change and get result as JSON format

    Hi, I'm working in a new application built on top of CodeIgniter (PHP). I have several html SELECT element, each element has a associated value in a DB table. What I need to do, and don't know how (know it's using .ajax but not so sure about the syntax or how to get the things as I want) is to make a AJAX call when users change the SELECT element and populate a INPUT element with the associated value. See the example below:  Table in DB:  id: 1  name: option1  value: value1  id: 2  name: option2
  • AJAX data representations... JSON, Text, XML

    Greetings, I've been playing with this and got it to work, but it just isn't satisfactory. I use JQuery AJAX to call a Web Method in C#. Right now I have the datatype: text. With it set to text, I can return from C#  - strReturn = "{\"error\":\"No Data sent\"}"; and I can my message (a little more than just the ("error") with var obj = jQuery.parseJSON(msg); var obj1 = jQuery.parseJSON(obj.d); alert("onSuccess -\nerror=" + obj1.error + "...\nDate=" + obj1.date + "\n...Table=" + obj1.contacttable
  • page not loading

    Hello,  I tried to load a simple local text file <script> $.get("text.txt") </script>and an external web page on my local computer (new Chrome Version 25.0.1364.172 m /JQuery jquery.mobile-1.2.0.), but nothing happend. Everything else worked as expected. Whats wrong? <script>     $.mobile.loadPage("http://www.mondkalender-online.de/heute.asp") </script> <script>     $.mobile.loadPage("m-heute.htm") </script>Thanx
  • htaccess asking for password multiple times using Jquery File Upload

    Hi guys, I'm trying to implement the Jquery File Upload plugin on my website. I made a link in my website to reach the folder where the plugin is installed. Without any protection everything is working perfectly, i can manage files, upload, download. Then, I tried to protect the file manager with a htaccess file. The problem is, when I go to the manager, htaccess is asking for the password. If wrong, error, if right, I'm in. But then, if i want to delete a file, htaccess is asking again for the password.
  • How do i change link the link color from the default blue?

    How do i change link the link color from the default blue?
  • 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