• How do I upgrade?

    Hi,  completely new to JQuery, so apologies if this is super-basic. I have bought an existing website that uses v1.4.2 and I want /need to upgrade this. Bearing in mind I know nothing about JQuery, how do I do this? Thanks
  • Calander widgets

    Where can I get full list and image of HTML 5 mobile widgets ?   specifically I need a Calander  widget that can present dayley , weekly, monthly view of events and show the list of events within the box of each day in the calander.
  • Show loading message only if request takes longer than...

    Hi, I'm using $.mobile.loading('show') to show the loading message while processing an ajax request which works fine. I was wondering if there is any way to only show the loading message if the ajax request takes longer than a specified time? This would avoid the loading message flashing up for a brief amount of time. Thanks for any info.
  • Multistep form - problem with field filled by jquery

    Hi Everyone, I have problem with script who filled input field when one value is less then 4. When the value is less then 4 the script filling field but the value is not selected, so when I'm going to next step I have no value in this field. When the value is greater then 4 everything is ok (the value is also filling by jquery). This is my code:  function compute() {       if( parseInt($("#finish_day").val()) < 4 ) {               $('#return_car').children('#return_car option[value=' + $('#get_car').val()
  • document.ready() function throwing object expected error

    Hi All, I am trying to implement a autosuggestion functionality in SharePoint search box. For the I used a jquery plugin i.e jquery.js and jquery.min.js.It is working fine in my local system but when I tried to run it in the server it is not showing any error in the search web part and throwing a error in the line   $(document).ready(function(){ $("ul.multimedia-portfolio").multimedia_portfolio({width: 800}); });  that object is expected here.This line is not a part of the Autosuggestion code that
  • Did jquery mobile support ipod touch?

    I have a problem when using ipod touch ,when ajax calling request to change data value is still cache old data. Is there a way to clear cache and browsing data in jquery mobile or is still got problem when use ipod touch?
  • IE memory overflow with function

    Ok guys. Here's what I do: function myFunction($obj, fix) {       var acum = 0;       var apply = 0;       $obj.height(0);       $('#contenedora').height($(document).height() - fix);       var $prev = $obj.prev('.iframe_full_title');       var $footer = $('#divFooter');       var $titulo = $('#iframe_zona_titulo');       var $parent = $obj.parents('.iframe_full_block:eq(0)');       var $ant = $parent.prev('.iframe_full_block');       var $bttn = $parent.next('.button_div_bottom');       acum = Number($prev.outerHeight(true));
  • JCarousel Lite Fade Effect

    Hi, I'm newbie on forum, on my website: http://nonstopit.pl, I have JCarousel Lite. It's possible to add effect fade with delay for each photo?I want to each picture showed a 0.5 second delay to the preceding: img1 - 0 sec, img2 - 0.5 sec, img3 - 1 sec, img4 - 1.5 sec
  • Isuue with .hover and transparency

    Hi Guys, I have just completing a site "sussexwebmasters.co.nf". However, among other things l have an issue with the menu with regards to hovering and transparency. Here it is: When the site first loads, everything is fine, When you click in a menu item or hover over it, the background color becomes opaque, which is what l intend, but after that the initial click there are a few issue with the subsequent events: 1) When you hover over a previously clicked link, the background effects no longer work
  • How can I refresh my radio button

    Dear All, I have a localStorage where an information about a mode is stored. mode can be "gps" or "phone" I am extracting the information and then I need to "update" a radio button which look like <form id="edit-perimetre" action="" method="post" data-ajax="true" class="ui-body ui-body-d ui-corner-all ui-shadow">                              <label for="perimetre-edit">Perimètre (mètre)</label>            <input type="text" id="perimetre-edit" name="code" class="validate[required,custom[number]]">
  • How to call upon a Google map?

    I created a map and got it to show up on my main page by creating a div with an ID of "map_canvas". I want to put that same map on another page, but making another div with the same ID doesn't work. How do I do this?
  • Dynamic form validation problem using jquery.validate.js and jquery.metadata.js files

    I have a form which is being generated based on a country selection by user. For every country there are some dynamic address format fields which I append into HTML using jQuery get call. Problem: Validation works perfect for the first loaded form but when I change the country and a new form is loaded then the validation does not get applied on the dynamically generated fields whereas it gets applied on the fields which are static on the page. I am using $ and Jquery for validation and jquery form
  • .append having trouble understanding

    Hey guys I wrote this code $('nlgbord').append(document.getElementById(chatbox_members)); What I am trying to do is append the inner html of the ID chatbox_members into the nlgbord I believe it is a class, would it have to be an ID? It just seems to not be working for me.    the chatbox_members is inside an iframe that is from another page of my website.   Another question would be for almost the same thing, but what I am trying to do is change the .chatbox-title h2 to words that I want. I do not
  • Getting strange characters using $.ajax

    Hi guys. I'm new on this forum, so please excuse me if I'm posting this in the wrong place. However, my problem is that I am using the Ajax functionality to run a PHP script in the background, to save some stuff to my database. It manages to run the script and save it fine, but when I write special characters, I get strange output. example: I write "æ, ø, å", and the output is "æ, ø, Ã¥" I know there is nothing wrong with the settings in my database or in my php script. When I do the exact same
  • Move iframe in front of popup window

    Hello people, Please look at www.gcprive.com/happenings I am trying to move the iframe that loads when you click on the "Sign-up" button to come in front of the popup window. Any ideas where the fix might be? many thanks, Andy
  • selectors problem

    both this structure comes in same page how to target this div <div id="box_go"> in css only difference is ul class.... i wanted to give two different border colors yellow and pink color this div <div id="box_go"> http://jsfiddle.net/LWutU/5/ zpass-current <ul class="zpass-current zpass-homepage logo-med-whttxt clearfix"> <li> <a href=""> <div class="entitlement"> <div id="box_go"> </div> </div> </a> <li> </ul> zpass-header <ul class="zpass-header zpass-homepage logo-med-whttxt clearfix"> <li> <a
  • Detecting Connection

    i want to prevent the user from accessing a page in my mobile app unless the have a connection i use this code but it doesnt seem to work $(document).ready(function() {  $('.MainLink').click(function()     {         if (!window.navigator.onLine)         {             return false;         }              }); });
  • How can I reload a page after a item deletion from my DB

    Dear All, I am building a mobile wen site for the phone. I choose to have a multi template web site. Exemple  <div data-role="page" id="page1">         <div data-role="header" data-position="fixed">         <h1>Page1</h1>     </div>         <div data-role="content">     </div>      <div data-role="footer" data-position="fixed">        </div>     </div> <div data-role="page" id="page2">         <div data-role="header" data-position="fixed">         <h1>Page 2</h1>     </div>         <div data-role="content">
  • Multiple forms validation on single page : bassistance validate

    http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I have several forms on a page that need to be validated independantly (several products, each with options and a add to cart button) What I have come up with is this: <form method="post" action="" id="validateform_<?= $id ?>">and then, after the form: <script type="text/javascript">                      jQuery("#validateform_<?=$id?>").validate();                 </script> Which, after a quick check, seems to work.  So, the questions
  • contact form php script problem

    i want to create jqm contact form that conect php server and send mail and convert it to native app please help
  • question on selector propagation

    I think I must have misunderstood something about events on selectors. I was using code like this: HTML: <a href="someurl" id="propStatus"><b>sometext</b></a> jQuery: $(document).on('click', '#propStatus', function(event) and picking up the target url with event.target.href This worked for some days and then suddenly stopped working. On further inspection event.target.href was undefined and checking for event.target.nodeName showed "B", e.g. the inner node of the anchor. I had to move the B outside
  • BlockUI centre aligned for horizontal and vertical

    Hi everyone Anyone here know of a way to get the message from the BlockUI plugin to be properly centre aligned, both horizontally and vertically? Here's the CSS options available... http://www.malsup.com/jquery/block/#options The default left position is 35% which is making my message to appear slightly to the right of the page because I have increased the width from the default 30%. I've tried margin: '0px auto' in the CSS which is usually a trick of centre aligning a div block of a specific width.
  • Redirect after login

    Im having this problem only with jquery mobile. using django backend.     if request.method == 'POST':         accinstance = accounts()         username = request.POST['username']         password = request.POST['password']         member_id = accinstance.login(username, password)         print member_id         if member_id:             request.session['member_id'] = member_id             request.session['ias_username'] = request.POST['username']             request.session['ias_client'] = request.POST['client']
  • I am trying to figure out why I have to double click or tap to make thumbnails appear.

    I have to tap or click twice for the thumbnails to display.  Here is my code:  html code:  <div id="ThumbNails"> <div id="thumbimg"></div> <div> jquery code:  $("#ThumbNails").bind("click", function (html) {                 lastShown = CurrentPage;                 PopulateThumbsEx(BookID, lastShown);                 //$("#book").fadeOut("fast");                 $(".ThumbNailNav").fadeIn(500);                 $("#thumbimg").empty();                 $("#thumbimg").append(html).prepend(thumbnails);
  • Linking to the same Google map on seperate pages.

    Is it possible to do this? I created a custom Google map and added it to my page. On another page I wanted to link to the same map, but it will only show the map on the page that is coded first. If I switch the order of the pages in my code, the map only shows on the second page. I can't get it to show on both pages! What is happening?
  • I have to Use Multiple Jquery in single webpage

    For Menu  <script type='text/javascript' src="js/jquery.min.js"></script>   <script type='text/javascript' src='js/jquery.hoverIntent.minified.js'></script>    <script type='text/javascript' src='js/jquery.dcmegamenu.1.3.3.js'></script>    <script type="text/javascript">        $(document).ready(function ($) {                    $('#mega-menu-5').dcMegaMenu({                rowItems: '4',                speed: 'fast',                effect: 'fade'            });                            }); </script>
  • Forms tightly coupled to ajax queries

    I’ve been starting work on a new query plugin for tightly tying web page fields to the input and output of ajax calls to the server.  The client side could be as fancy as it wanted with display and editing of values.  The server code that implemented the calls could do whatever it need to get things done.  Logically I the glue in the middle seems mostly rote and automatable, but I can’t find anyone who has made that happen, so I’m writing it.  And I keep feeling like somebody else must have already
  • Detecting bots

    Hi, Is there any way to detect bots or robots? I have somwhere read that you can do it by looking if the mouse is moving. But if on a mobile phone there is no mouse movement so that is not really a good option. I want to create some sort of a counter. So if a certain link is pressed it should count +1 but not so for bots. Any way to prevent bots from the counting? Thanks in advance.
  • Firefox Animate Problem

    Hello All, New to jQuery. Anyone out there know why the below code would not be working properly in Firefox? I have a right sidebar with a partially transparent background and I want it to stretch to be the height of the browser. Also, he sidebar slides into the page after 1 second. Everything is working perfectly on Safari and Chrome, but Firefox does not stretch the item to the height of the window, rather it is only also tall as its contents, and it also does not complete any slide animation,
  • Possibility to always detect mouse position?

    Hi together, i just wanted to ask, if there is a possibility to detect the mouse position all time through... I know, that i can detect mouse position on click, but what i need is a permanent detection... Do you know how to realize that? Thanks already now for your answers ;) P.M.
  • curved movement

    Using animate() how do you create curved movement. i was thinking something along the lines of movement which is the horizontal movement is the square of vertical movement with adition and subtraction to control the exact size of the curve (because when drawing a line on a graph you use a formula which involves use of a square to make the curve) IE H = horizontal movement V = vertical movement H = V^2 + 3.5 but how would i apply such an algorithm to the animate() method Simply choosing the V value,
  • Opening a document in mobile env

    This may be relevant to this forum, I m using jquery mobile to build an application, from time to time I have to show documents such as pdf,doc,jpeg .. to user, normally this wouldnt be a problem but with jqeury and mobile involved, I have no clue. By the way I m good with image files I guess, I tried and they are just working. thx
  • how to display text from any one select box from multiple select box using Jquery

    Hello I am learing Jquery I want to display the Text from select box using the Jquery code. When will I click option from hotel1 then only selected text from hotel1 shall be printed and when I will select any option from hotel2 then only select option from hotel2 shall be printed.  But ths is not happening with my code given below. It is printing from both the select box. And It also print when page is loaded.  Where is my logic failed? Please guide. <!DOCTYPE html> <html> <head>   <style>   div
  • $.ajaxSetup({timeout:15000}); does not seem to work with jQuery.getJSON. What am I doing wrong?

    My code is: function logInJS(fields, dv) { // VARs defined here are visible in callback   var elem = document.getElementById(fields);   var dvD = dv;   $.ajaxSetup({timeout:15000}); // milliseconds of timeout   jQuery.getJSON(baseURL + 'json?verb=6', $(elem).serialize(), function(data, status, xhr) {   if (data.msg)  {     alert(data.msg);   } else { This works fine when the server is running.  Status is "success" and xhr.status is 200 as expected.  When I turn the server off so that there will never
  • hover

    I am trying to load this image on mouse hover dont know why its working pls help http://jsfiddle.net/LWutU/ http://www.clker.com/clipart-no-sign-x.html
  • Problem with submitting form on Windows Phone and Internet Explorer

    I have made a form page using jQuery Mobile containing both regular text fields, select (drop-down) populated with mysql data with php, sliders etc. It's all good and works like a charm on both iOS and Android - BUT, enter Windows Phone.... both on Windows Phone (IE) and IE on a PC, the submit button simple doesn't work and the 'action'-page does not load - it just acts like a regular button with no function... I have tried a lot of troubleshooting but can't seem to get it to work. I have made other
  • A part of the Auto suggest items of a search box not clickable.....

    Hi All,   Only a part of the auto suggestions in the mobile search box(bing/google..or any )  when we type in search box are not clickable.   and when I click the lower part of the auto suggestions list ...the click event is firing on the image behind the auto suggestion dropdown.....(image is there on the page load).   The click  event gets fired correctly on the top part of the list of the auto suggest items.....the suggestions displayed on the image are not getting clicked..instead the images
  • parsererror in ajax jquery calling a webservice

    I have written a webservice like below: [WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json, XmlSerializeString = false, UseHttpGet = true)] public string GetNews(int tes) {     return tes.ToString(); } and I want to use this function in client so I wrote this lines: $.ajax({                 dataType: "jsonp",                 success: function (d) {                     $('.widget.yellow').html(d.d);                 },                 error: function (xhr, textStatus, errorThrown) {    
  • I have the problem about the .change( handler(eventObject) ) , please help

    In my website: http://www.bkrenew.net16.net/bksearch.php   you can see the drop down box, but it cannot link to href link, i want to select the option, and then can change the website. The original source code is from this webstie:   http://buffernow.com/2012/08/cascading-dropdown-ajax/   and combine with this   <script language="javascript"> <!-- //Drop-down Document Viewer- © Dynamic Drive (www.dynamicdrive.com) //For full source code, 100's more DHTML scripts, and TOS, //visit http://www.dynamicdrive.com
  • Jquery Show hide for table

    I am a newbie to jquery I want this javscript code to be converted using jquery <script type="text/javascript"> function check() {     var h1= document.getElementById("hid1").style;     var h2= document.getElementById("hid2").style;         if(h1.visibility=="hidden" && h2.visibility=="hidden")     {         h1.visibility="visible";         h2.visibility="visible";             }     else     {         h1.visibility="hidden";         h2.visibility="hidden";     } } </script> <tr> <td>  <input type="radio"
  • 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