• Problem with star rating plugin

    I have a review page where I have one star rating to rate a product (this works fine) and also many display only ratings from previous reviews, my problem is that only the first display only rating is working, even though each set of radio buttons has a unique name Is it possible to have more than one display only rating on a page? I am using version 3.12 of this plugin, as I've been using it for a long time on a website. Now I am developing a new website which is using jquery version 1.7.1 - I would
  • why is the flip on my page not working.

    Hello,   I found this page : 20thingsIlearned.com Im using now the javascript files from the source which can be found here: http://code.google.com/p/20thingsilearned/source/browse/#svn%2Ftrunk%2Fwar%2Fjs But when I try to use it nothing happens. See my page : test.tamarawobben,nl   Anyone who can help me to make this work?   Roelof  
  • JQ turn $('#topspeed').change(function() into a condition

    I want to replace $('#topspeed').change(function(){ with a condition, something like the following, but working if($("[id=topspeed]").is(":selected")){ How to do it?
  • how to use listview to update div on same page using AJAX

    I've seen and tested examples of using a button to update the html contents of a div on the same web-page using jquery and ajax, but can anyone point me towards an example of using a listview to do the same? Depending on the listview item clicked (or tapped) I'd want different html set in that other div. I gave a listview an id, and then used the selector.click function against that id, but it doesn't seem to get called. The web-page does however update to a new page based on the href value within
  • Need help with implementing a function on hover in Galleria.

    I have put together a galleria image gallery for a client, who has requested that the thumbnails along the bottom of the gallery scroll as the arrows on either end (see circled in picture) are hovered over. I am new to javascript and jQuery, but I tried to customise the code to achieve this effect. I managed to get the main image to change on hover of the thumbnail navigation, by adding the code below to galleria.classic.js - but of course I don't want the image to change, I want the thumbnails to
  • Ui modal - loading outside content

    I am using the Ui modal popup on a page to edit a user profile - when they click the "edit" button it loads another html page into the modal div, this page has some of it's own javascript and jquery. Is this ok or is there another way to accomplish this to go along with conventions?  Thanks for your help!
  • Resizeable detect the resize direction.

    Hi, I need to know how to determine the  direction the resize is occurring. if it's going in the x direction.  meaning west and east and if it is going to the North and South direction to detect the directions. I have 4 custom images. I have them inside a div and when this div resizes I need to be able to keep the borders to be the same thickness and cover the div. I wan to keep it like a border around the div. So, if the div resizes currently the borders don't grow or resize with the div and yes
  • about dialog question

    Click on the '123' dialog box ,then Click on the '456' dialog box ,why '123' dialog box iframe will Automatic refresh;how to do it ? code: $('<iframe frameborder="0" src="http://www.baidu.com/"/>').dialog( { title:"456", autoOpen: true, height: 700, position: 'center', width: 700 }).width(700).height(350); $( "#dialoga" ).dialog({ title:"123", maxHeight: 600 });
  • On a click of a button i should open one diallog form i am doing this in asp.net and jquery please do help me

    Below is my code  <script type="text/javascript">         $("#BtnMakeallotment")       .button()       .click(function () {           $("#dialog-form").dialog("open");       });     </script>     <form>     <fieldset>     <asp:GridView ID="GridAllotment" runat="server" AutoGenerateColumns="false"></asp:GridView>     </fieldset>     </form> But i am not getting dialog form dont know what is the problem . Please help me
  • Refresh CSS after ajax call

    Hi everyone; I have a problem when i get data from my api and appended this results to link in my html code.  <div data-role="footer" data-position="fixed"  data-theme="b">       <a href="listingresults.html" data-role="button" data-theme="b" data-icon="search" id="results">Results</a> </div>This is my html code, now my jquery code is: $(document).ready(function(){     function getTotallistings(){         location = $('#location').val();     priceStart = $('#priceStart').val();     priceEnd = $('#priceEnd').val();
  • The css long press problem

    I have a question want to ask when we use the smartphone or tablet operating a Web page (Here I would mention my testing process) the default,long press on the screen,there will be a pop up window of search options because some reason,I  want to make this feature disable I search the google and finally found the following CSS syntax, you can put these code before <head/>  The link is a Snapshot for HTC Sensation XL  http://www.littlebau.com/css.png <style type="text/css"> *: not (input) / *: not
  • Refresh CSS after ajax call using JQuery.

    Hi All ,              I have Online application and i used Webservice , i use JQuery to call Ajax and now my problem is when i finish call the ajax which is Loading my CSS and JQuery is Broken or cannot be used.. Please help me guys .. Thanks GEE.
  • 2 Textbox Watermark's

    Hello Forum,  This is my first post, I have been using query for about a week, so I am very new. I have a form I have made where I want Jquery to add a watermark to a couple of textboxs. I can do it, but I have a couple of problems 1) currently I need to repeat the code (once for each textbox) 2) It has a dependency on the HTML     $("#requirements").focus(function () {         if ($(this).val() == "Enter any extra requirements here....")             $(this).removeClass("watermark").val('');    
  • Compatibility Issues

    Hi, I am using an old jquery.zoomable-1.1.js library, which is seems only compatible with jquery 1.7.2. How can I make it work with the new jquery version 1.10.1 by completely replacing the 1.7.2 version?
  • JQuery Mobile gives white screen in IE10 Windows 7 64bit

    Hey Everyone, I've been having an issue with jQuery mobile in IE10 64bit. I was intending on using jQuery mobile as my new framework but it doesnt seem to work. No listed errors in the console and I'm using the non minified version. Any ideas on what the problem is?
  • serialize() blank after clone?

    after i clone a form and insert it back on the page, i can't understand why serialize() returns an empty string? http://jsfiddle.net/AKpa4/ <table>     <tr>       <form>        <td><input type="text" name="abc[def]" value="ghi" /></td>     </form>     </tr> </table> alert( $("table tr:last").find('form').serialize() );   // works $("table tr:last").clone().insertAfter("table tr:last") alert( $("table tr:last").find('form').serialize() );   // doesn't
  • Using UI button problem. Text not appearing, or is different font sizes.

    Hello, Im trying to replace my img buttons with the jquery button add-on. I have img tags with source and an onclick event. What is happening is not all my buttons contain any text. Also, the ones that do are all different font sizes and such. Im replacing the text of the button in the following manner: At doc.ready Im obtaining the alt text and replacing the value with the alt text. But not all of the buttons contains text.(and their all different sizes)  $(document).ready(function(){          
  • CDN Downloading...

    Hi! A newbie question... Rather than specifying a specific build e.g. script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js is it not possible to specify a 'general' one so that one does not need to change the source every time there is an upgrade i.e. it will upgrade automatically. Thanks Mik
  • Jquery mobile multiple select menu issue

    i amusing multiple select  menu in jquery mobile. i am not not get the selected item value. if i select two values, val() s returning both values. for eg: options: A and B if i select both, Val() returning AB
  • Textbox to stay attached to the keyboard my device.

    Dear, I'm having trouble with jQuery Mobile, I have a Login screen. User Type [txtbox] and Password [textBox] when I click on the User textbox appears the keyboard to enter text, and plays up the textbox and the User does not see what this typing, I would like the textbox to stay attached to the keyboard. Is there any way of doing this. Thank you!
  • Refresh page

    I have a page with dynamic content fetched from mySQL DB. All my function calls are with in $(document).ready(function () { When I switch page my code is not fired. Only after a browser refresh the page is correctly filled in. I read about page refresh problems using Google and tried to use a pagerefresh function. No success. My page is in a div with role = page. I switch like this           <li><a id='location' title='Hier legt u alles vast wat betrekking heeft op de locatie' href="location.htm">Locatie</a></li>
  • Usage in a full fledged desktop site?

    We are planning to build a full fledged desktop website using jQuery mobile. On the home page i could find links to various mobile websites which use it. It would be great if we could have a look at some of the desktop versions of some complex websites which use jQuery mobile, since we are not able to assess properly if it suits out requirements.
  • find() with table

    I want to find in the table specific <tr> element that's first <td> has html value of 3. I tried something like that: $('#gvBugs tr').filter(function(tr){return $(this td).html() == 3;}) But I cannot figure out how to repair it. Thank you in advance for any help.
  • Problem in accessing jsf datatable elements using jquery

    Hi, I am working on a cross compatibility project where in i have decided to replace some of the browser specific javascript(example-to add rows to a jsf datatable use of cells[i]-doesnt work in IE7,IE9 and IE10). so i am trying to use jquery instead. I am facing issue while facing issue while accessing elements of the jsf datatable. Code structure is like shown below <h:datatable styleClass="class1,class2"> <h:column> <h:outputText id="id1" /> </h:column> <h:column> <h:outputText id="id2" /> </h:column>
  • Menu toggle for responsive design IE8!!

    Hi, I have made a drop down menu system for a responsive website, but for some reason IE8 does not like the following code: $(".menu-toggle").on('click', function (e) {         $("#main-nav a[class^='menu-item']").each(function(i) {             if ($(this).hasClass("menu-item-on")) {                 $(this).removeClass("menu-item-on");             }             else  {                 $(this).addClass("menu-item-on");             }         });         e.preventDefault;     }); It looks like it is
  • jQuery callbacks and JSONP

    Hello, I am trying to fully understand callback names.  I see this code in the jQuery docs: // Using YQL and JSONP $.ajax({ url: "http://query.yahooapis.com/v1/public/yql", // the name of the callback parameter, as specified by the YQL service jsonp: "callback", // tell jQuery we're expecting JSONP dataType: "jsonp", // tell YQL what we want and that we want JSON data: { q: "select title,abstract,url from search.news where query=\"cat\"", format: "json" }, // work with the response success: function(
  • window.location.href

    I have a form <form action="abc.php" method="get">       <button id="b1" class="signInInput" value="hid2" onclick="signUp()">Create Free Acount</button>       <button id="b2" class="signInInput" value="hid1">Sign In</button> </for> on click the page redirects to abc.php but I want... button .. id=b1 .. on click the page redirect to xyz.php my jquery is:     function signUp()     {         window.location.href = 'user/user.php?val=nnnn';     }
  • Is it bad to call .draggable function multiple times on the same element if the element has been removed between the two function calls?

    I understand that attaching handlers multiple times can cause trouble, but in my case, the element in question has been removed in between the times that I'm attaching the handler.  Here's a sample of what I mean: HTML: <div id="parent">    <div id="child></div> </div> javascript: $('#child').draggable({ helper : 'clone',       revert : 'invalid',       revertDuration : 400,       opacity : 0.35,       appendTo : 'body' }); //do something in between.. then $('#child).remove(); //do something else
  • Pass php variable to modal window

    I have created a modal window. The div that opens is located on the same page. When a link is clicked I would like to send the id of the record to the modal window. Here is what I have so far, but it is not passing the variable to the modal. [code] $('a[name=modalMed]').click(function(e) { //cancel the link behavior e.preventDefault(); //get the A tag var id=$(this).attr('href'); var med=$(this).data('medidnum'); //get the screen height and width var maskHeight=$(document).height(); var maskWidth=$(window).width();
  • Filtering h2 from h1,h3,h4..........(all headers)

    Hi,   I am new to web development (3 months).   I am learning JQuery now.   I am writing a small html code which has h1, h2, h3 and h4 header elements. There is a button as well.  Once the button is clicked I want to have red color background to h1, h3 and h4. I need to filter out h2.  This is the code I wrote, but not working though.   Please help me.   <script> $(document).ready(function(){   $("button").click(function(){     $(":header").filter($("#h3")).css( 'background-color' , 'red');   });
  • About jquery header rotator

    Hi all, Is there Free jquery header rotator for WordPress running on Linux?  If YES pls advise where to download?  Thanks Rdgs satimis
  • Which jQuery functions apply to containing window w/out parent-child?

    Some JavaScript functions like window.resizeTo will work on the same browser window where the JavaScript resides. There is no parent-child relationship, like using a script with CSS to turn a DIV into a new window with specified traits. I'm wondering what jQuery functions have the same capability, and what rules govern their use? This would appear to me to be a specific category of functionality.  -Okieuser
  • ListView and swipe detection problem

    in my native browser,When I am scrolling the li,it is very smooth [before] <ul data-filter="true" data-filter-placeholder="keywords" data-inset="true" data-role="listview"> <li>Subject 1</li> <li>Subject 2</li> <li>Subject 3</li> <li>Subject 4</li> <li>Subject 5</li> ..... </ul> However(only one line), I just add a "slide to the right" detection code (function is normal too) , the original smooth effect becomes very delay and caton [after] $(document).on("swiperight", function(event, ui) { alert("right")
  • 'data(...)' is null or not an object

    As of 1.10.0 I get the following when I click on the window behind a modal dialog: 'data(...)' is null or not an object jquery-ui-1.10.3.custom.min.js, line 7, character 13553. only happening in IE 8, Firefox works fine. Anyone else seen this problem?  The Demo on the jQUeryUI Demos works fine...
  • Help with ajax not get script error in IE9

    Good morning everyone, I have a problem when making a request by ajax. I'm using the $. ajax () this function and returns the search results in Firefox and Chrome more in IE9 it just returns the HTML and plays in the div I want it to handle and runs a <script> </ script> other the page you're doing the request! Remembering that everything is ok in chrome and firefox only in IE9 only loads the HTML, not the script.
  • How to generate pdf file in JQuery ?

    Hi, I have a modal Dialog with some data with 'print' button.when i click on button how to create a PDF file which will contain all the data in a tabular format.Is it possible in Jquery or not ? plz help me out.. thanks saroj
  • Jquery Radio Button uncheck radio button, but should not clear it value.

    I am trying to clear my form fields on reset button using following code $(':input',formId).not(':button, :submit, :reset, :hidden').val('').prop('checked', false).removeAttr('selected');Now my Radio button is getting unchecked, but value set in radio button is also getting cleared. I want only to uncheck it, But value of the radio button should be available. Please help
  • getting false return when sending data to a php script

    I'm trying to send some data to a php file with my jquery script. However it doesn't seem to work, as I'm getting a false return whatever I'm trying. Can anyone tell me what I'm doing wrong here? Please note, the php file isn't doing much.. it's just for testing purposes.   <script language="javascript">   $(document).ready(function() {        $('select').change(function() {        if ($(this).val()=='delete'){ var parent = $(this).closest('tr'); $.ajax({ type: 'post', dataType: 'html', url: 'process.php',
  • jquery Knob plugin Combination Lock

    Hi there everyone, Sorry, I know this is for a plugin and should probably be in the plugin section, but I'm also extremely new to jquery and js in general, so please, no flaming. My question pertains to this plugin: http://anthonyterrien.com/knob/ I'm curious whether you think it would be possible to create a combination lock with 3 of these in a circle. The idea being that it would only proceed to the next page if the correct combination was entered, preferably the combination would not be in plain
  • HTML link fail to load in my jQuery Mobile Site.

    Hi, I'm having trouble linking my HTML file using a href"#". Please advise am new to this. <div class="ui-btn-text">       <a href="file://server/Volume_1/vwa/www-mobile/corporate-why.html" data-transition="fade" class="ui-link-inherit">Why Choose VWA</a> </div> Error: OPTIONS file://server/Volume_1/vwa/www-mobile/corporate-why.html Origin null is not allowed by Access-Control-Allow-Origin. XMLHttpRequest cannot load file://server/Volume_1/vwa/www-mobile/corporate-why.html. Origin null is not allowed
  • 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