• reset value

    code below worked great but when I switch back and forth between car 1 and 2 the value didn't reset.  ok, here the problem... first select "One A"  from car 1, hit submit, the values show below Form Fields: A=1 B=0 then select "One B" from car 2, hit submit, the values show below Form Fields: A=1 B=1   how can I reset the value of A=0 since the car 1 drop down is not visible at this time.  Or can I just set the attribute for the hidden field to disable so it won't be pass to the next page? thanks
  • pop up dialogue box that would b closed after reading

    Hi I have gone thru and tried without success to add a simple pop up dialogue box for a site I did. I just want a small dialogue box to open with a few sentences that can be read and closed afterwards. I want it to sit on top of the home page. Anyway I tried the codes supplied but it is in the body and just appears on the page as regular copy in a weird spot or if I follow the code exactly and put it in the opening and close tags of the body nothing else shows up, as expected. How do I add a dialogue
  • Android Back Key doesn't work after accessing page with data-ajax=false link

    i'm trying to build an app using phonegap and JQM.. i add exit dialog in my app which if the back key in the main page pressed the exit dialog will shown. my code running well, but after accessing page with data-ajax=false link, the back key cannot work. anyone can help me to solve this problem ?, please thanks before.
  • How to add jQuery in Magento ?

    You are developing an e-commerce site using the Magento platform. You need to incorporate Flow player in to the site and for that purpose you want to use jQuery.  You will find the way to  to add jQuery in Magento  in this review: http://www.magesolution.com/blog/how-to-add-jquery-in-magento/ I also recommend the way to combine of Magento and JQuery at Here
  • popup buttons open in hover state

    I am using jquery mobile 1.4 and having a problem with the popup widget. When the user selects the popup button the popup opens correctly, there are three buttons in the content, but the call store button in the content opens in hover state. I am using the api to open the button $('#locationpopup').popup('open'); has anybody else been experiencing this problem or know how to resolve this? <div data-role="popup" id="locationpopup" data-theme="a" data-overlay-theme="b" class="ui-corner-all" data-dismissible="false"
  • Older jQuery plugin not yet working with newer WordPress site

    I have an older jQuery plugin that works fine in a basic HTML web page, but not very well when I try to bring it into a WordPress page that's probably using a newer version of jQuery. In particular, my WordPress site (version 3.7.1) is making use of a newer jQuery library, while the plugin is based on an older jquery-1.6.2.js library. In the functions.php file of my site I've tried using the following code to bring a.) the necessary CSS, b.) the 1.6.2 javascript library, and c.) the plugin's javascript
  • localStorage not saved when link takes me to another website

    Hi, I am having problems with localStorage. Whenever a link takes me to another website and I use the back button to return to the jquery site, localStorage appears to have been cleared. Do I have to explicitly tell jquery to store the localStorage variables as data for my website. I am new to using localStorage and do not know what I am doing wrong to have my variables 'disappear' when using the back button to return from a another website. How do I permanently store the local storage so that visiting
  • JQuery ajax call to sharepoint 2007 lists.asmx (special character in answer)

    Hello, I've got a really strange problem into a plugin I'm trying to update from JQuery 1.6 to 1.9.1. I have a function that call a SharePoint 2007 asmx. This asmx is returning some xml in soap format. Once I have the answer, I'm using find function to get value from the soap. It was perfectly working, but since I've upgraded to 1.9.1, I'm getting some special characters in my answer. This cause the xml to be not parsable. Do you have any idea on how I can make the answer not containing these characters?
  • Loading JQuery into Joomla 3 for date picker

    I've been having some trouble lately getting the JQuery datepicker function to work in a custom Joomla module. I use Jumi to integrate a PHP file into the website that displays a datepicker application in the frontend. If I'm using it correctly according to the JQuery website I have to call for the following files: <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> Doing it like this works fine, the date pickers does
  • Loading JQuery into Joomla 3 for date picker

    I've been having some trouble lately getting the JQuery datepicker function to work in a custom Joomla module. I use Jumi to integrate a PHP file into the website that displays a datepicker application in the frontend. If I'm using it correctly according to the JQuery website I have to call for the following files: <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> Doing it like this works fine, the date pickers does
  • Adding bullets on Imageslider

    I want to show sliding images with bullets over it, as in http://www.alexcreedy.com/slider/slider_v2.html I don't know any thing about jquery. Thnks.
  • jQuery UI 1.10.3 with jQuery 2.0.3

    Hi all, Does anyone know if jQuery UI 1.10.3 will work with jQuery 2.0.3 as its core reference or do I need jQuery 1x? When I try to add jQuery 2x, my jQuery UI element doesn't process as expected. Thanks, Kelly
  • Datepicker: calendar ignore input date if current year outside limits and no year in dateFormat

    Hello everyone, I have found some weird behavior using the datepicker widget... Basically, if you define limits using minDate and maxDate, and if your dateFormat does NOT contains a "year" field, the synchronization between the field and calendar will be somewhat lost: - Opening the calendar will always display maxDate or minDate (depending on how your limits are set), ignoring any day or month currently selected. - Editing the field will not update on-the-fly the calendar selection as usual. Proof:
  • Adding condition to jQuery Form Checkbox

    I have a jQuery form consisting of checkboxes where the boxes can have values, Name [X] or [Y] or [Z] Class [1] or [2] or [3] The main script goes like this, <script> $(document).ready(function(){      function displayVals() { var NameValue = $("#Name").val(); var ClassValue = $("#Class").val();                                      var AllValue = "?q=Name_s%3A" + NameValue + "|Class_s:" + ClassValue;                   var finderValue= "[A website Address]"+AllValue;                    $("#DetailFinderForm").attr("action",
  • How to check if viewport changed

    Hello! I am looking for an event which is fired when the viewport of a mobile webpage changes during scrolling this page. Has anyone an idea? Thanks in advance  Greetings
  • After downloading slider.....? Dreamweaver cs6 what do I do?!

    I have dreamweaver cs6. I am trying to implement a simple slider into my webpage and would like to use jquery. I have installed from the download link on the homepage.  My question is: When I chose a slider to use I download it, save it. Then when I go to input the files into my .js and .css folders I'm completely lost as to which files need to be put into my own.  One slider I downloaded had 4 .js files and 4 .css files. This just can't be right.  Apologize for being a n00b with javascript but I
  • Can't find documentation of "Events" of jQuery UI

    I was trying to find the documentation of "Events" of jQuery UI Datepicker on its API page, but had no luck. Where can I find the documentation of "Events"?
  • [jQuery] $.post issue

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial size=2><SPAN class=819104617-21092006>I am new to jQuery and I'm having issues calling a webservice.  Here is my code:</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=819104617-21092006></SPAN></FONT> </DIV><FONT face=Arial size=2><!DOCTYPE html PUBLIC
  • Accordion not working well when i save the code

    Hello guys, I want to use the accordion to my website http://www.kampungosing.com/p/rooms.html I already insert all the code, and i preview the result was fine. The problem came when i already save the code, it was not showed up as the preview result. Any advice in order to make it working normally? or is it any relate to the browser i use ? i use chrome anyway Cheers Ganda 
  • button inside jquery blockui on usercontrol ie. ascx

    Hi, i am trying to implement somewhat similar to the first example on this linkhttp://malsup.com/jquery/block/#demos  can anyone help me to capture server side event of "submit" button? Please note i am implementing this on usercontrol ie. ascx page Thanks in advance.
  • Can I set startTime and endTime to datetimepicker?

     I have this       $('#Date').datetimepicker({         controlType: 'select',         timeFormat: 'HH:mm',         showAnim: 'slideDown',         minDate: "+7D",          hourMin: "15"         hourMax: "20"        }); but i want to set startTime something like"15:30" and endTime "20:35". I can't use minuteMax:"35" because then I won't be able to select for example "15:40. Thank you
  • .toPrecision not working with pixels

    I am  trying to round a number to integer  I get a width --> var $h2 = $('.span2').width(); I try -> $texH = ($h3 / 5).toPrecision(1); or -> $texH = ($h3 / 5).toFixed();  but nothing works I  get 69.05638638638637px   and I want 69px thanks for helping
  • jQuery datepicker calculating age and displaying it on label

    Hi, I know how to calculate the age from DOB and have done the same. But am unable to display the age on the label. Pl help and suggest me a way out in doing so?
  • autocomplete with params

    Hello! I have a script that works with autocomplete.  But I need to add another parameter to myurl  when selecting from the dropdown menu. Can anyone help? <from> <select name="country" id="country" class="btn-country-select"> <option value="0"></option> <option value="1" >Austria</option> <option value="2" >Zambia</option> </select> <input type="text" name="searchStr" id="searchStr"> </form>              $().ready(function() { $("#searchStr").autocomplete("myurl", { width: 218, matchContains: true,
  • Jquery post issue.

    Hi; This should work! onkeyup I want it to load that page in the div but it doesn't What did I miss? Its here function reload_deals()                 {                     $.post('<?php echo base_url("home");?>', { search: document.search_form.category_search.value},function(output){$('#deals_box').html(output).show();});                 } Thanks
  • Dynamically display buttons in dialog

    Hello, I would like to use the same dialog function to display alerts and confirm dialogs. Would I be able to have an if statement in the dialog code so I can display different buttons depending upon what parameters were passed into the function? Something like:     var alerter = function (passit, confirmationBox) {         $("#dialog-default > p").text(String(passit));         $("#dialog-default").dialog({             open: function () {                 $(".ui-state-focus").blur();                
  • ONLY Visible Div form elements will get submitted

    It shows and hide when selection is made either City or State.  Right now, when I hit submit button, both values (city and state) are carry to the next page.  I only want one to be moved over when it's visible on the page but don't know how to do it, can you pls help?  thanks   function show_hide(show, hide) { document.getElementById(show).style.display="block"; document.getElementById(hide).style.display="none"; } <form action="next.cfm"> <input type="radio" name="select" value="1" onClick="show_hide('city',
  • create the slider with handle replaced by image

    Hi Everyone, I need help in doing two things: 1st:When I use image tag inside <a> then the image become non-drag able.I want to replace both handles with the two images(inside td). 2:As soon as I slide any of the two slider the initial value of other slider gets set in the input box. I want that the value set only when user slide corresponding slider. http://jsfiddle.net/trivender/6NftK/3/
  • Page transition and back button

    Hello Using jQueryMobile 1.4.0, I am building an app which has "horizontal" and "vertical" page navigation. By horizontal i mean kind of like tabbing between pages within same record, and vertical is like moving to a next record. For "horizontal", I am using one type of transition and no history management, "vertical" requires different transition and support for back button. I.e. when users enter record A, navigate two pages "sideways", then enter child record B, move two pages sideways, then press
  • How do load an external page into iframe and create overlap on top of certain element of that external page?

    I'd like to load an external page into my iframe, once page is loaded, I'd like to to search certain element on that page and create a overlay on top of that element. Would it be possible? thanks,
  • event object prevent default and different browsers

    Hi, I am quite new to javascript/jquery, however I have been programming in C for quite some time. I am having problems with the events. Everything works as I would like it to in Chrome, however in Firefox I get errors around this. StackOverflow etc seem to have similar questions but without difinitive answers. Let me explain. I have a page that is to run a jquery function: <script>setupFileExplorer();</script>That in turn, calls a function showOptions which, when the user clicks on *something* it
  • Need to detect DataTable JQuery gridview Column Sort and Direction

    Hi,   I am using a gridview control, called DataTable, which is developed with JQuery which populate and provides sorting for ASP.NET gridview. When I export the gridview, I can't export the sorted columns and direction, since the JQuery does that functionality. From the c#, how can I detected the column click and sorted direction? Any help is appreciated.             $(document).ready(function () {             var oResultGrid = $("[id$='gvReportData']");             if (fixEmptyDataRow(oResultGrid))
  • how to have my guid saved for the dialog?

    Hi, I am using the following code to populate date in my page. <table align="center" cellpadding="5" cellspacing="0" style="width:100%;">     <?php         $mysql_command = "CALL sp_populate_my_companies(:param_member_guid)";         $mysql_query = $mysql_connection->prepare($mysql_command);         $mysql_query->bindParam(':param_member_guid', $_SESSION["xoompage_member_guid"], PDO::PARAM_STR);         $mysql_query->execute();         while($mysql_row = $mysql_query->fetch())         {     ?>  
  • What kind of jquery plugin this is using ?

    Hi, I am looking to build something similar ,but in wordpress{as a custom page}, so i was wondering what kind of plugin can create this interface, Here is the reference site of the interface i am looking to build, http://www.knotstandard.com/shirts/classic-white-oxford-shirt/ The part where it has options like,overview,cut,monogram, etc. Thanks alot
  • ie expected identifier, string or number again

    I have this ajax code $(document).ready(function(){ var ajax_load = "<img src='load.gif' alt='loading...' />";     var loadUrl = "courses_content.php?id=";     $("#courses_titles").children('span').click(function(){         $("#courses_title").html($(this).html());         $("#courses_path").html($("#courses_path").html()+'/'+$(this).html());         $("#courses_titles").html(ajax_load).load(loadUrl+$(this).attr('id'));     }); }); that returns a a content from the requested page and another ajax
  • Taking text problem

    <a href="index.html">Home<span>Our Company</span></a> This  is my code I  like to take text  into <a></a> tag but not like to take text into <span></span> tag. That means I like to take "Home" only not "Our Company". by .text() function how can I do this ? 
  • JQuery Mobile 1.4 - SilentScroll not working at all on IOS standalone web app

    If you create a sample page similar to the silent scroll demo, but add the meta tag for web app capable. Then load it up in safari and do a "Add to Homepage", launch it from the homepage so that it launches as a standalone sandboxed web app.  You can see that both of these buttons stop working. Basically, calling slientscroll does nothing when in standalone mode.  This is annoying because there is no decent way to go back to your position in a listview when you return to a page, even if you store
  • Radio button value not being sent to server

    This is a general question, thus no script. I'm looking for hints as to what could cause the following: Is there any reason that jQuery include scripts could prevent HTML radio button values from being sent to the server while all other values from selects and texts are correctly sent? When using straight HTML the radio values are sent. I get the same results in browsers IE8, FF 26 and Chrome 32.
  • Disable dialog close on key press

    Hello, Would it be possible to close a dialog by just clicking the close or 'x' button? My dialog closes when the space bar is pressed, I would like to prevent this. Can anyone help? Here is my currrent code:        $("#dialog-default").dialog({                         buttons: {                 "Close": function () {                     $(this).dialog("close");                 }             }         });
  • jQuery Mobile 1.4, theme

    I have been using 1.3.2 and like the theme. Now 1.4 does not have gradient and it just does not look  as good. does anyone have the same feeling? ftc
  • 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