• How do I preenhance other pages?

    Hi.   When I'm using a mulipages, how to I enhance some of the other pages?   I start at the 'startpage' but how do I enhance the other pages that hasn't been displayed and therefore enhanced yet?   As I have a natural flow in my mobile web app. I would to to preenhance some of the other pages in order to minimize the transition to these following pages.   My next question is how do I avoid JQM trying to enhance an allready enhanced static page?   Kindly regards Ruffio
  • append/prepend with an array as first parameter

    Is there a technical reason why jQuery's append/prepend does not work (or could not be implemented to work) with an array of elements as the first parameter? e.g. $('#block').append( ['<p>hi</p>', element1, element2 ] ) Currently these are the methods of performing this operation: $('#block').append('<p>hi</p>', [element1, element2 ] ) - or - $('#block').append('<p>hi</p>', element1, element2) - or - using the function.apply method with the list
  • Newbie in jQuery Mobile

    Hello, i have a trouble with my project html files. It's the first time I am developing in this technology. I have a problem making a link to a window in another HTML page on the same servir. Always shows a error "error loading page". Does somebody help me?  Thanks
  • How to auto-trigger onscroll when dynamically adding content with jQuery?

    With .on(scroll or .scroll( we can detect window or element scrolling when we do a physical scroll, by either dragging the scrollbar or using the mousewheel. But it cannot be auto-triggered with dynamically added content. Here is the an example: http://jsfiddle.net/vs5bR/   There is an event listener MozScrolledAreaChanged which is for Mozilla only.     Is there a cross-browser solution for this? I'v seen the DOM check method, which checks DOM element change all the time, and doesn't seem to be a
  • [jQuery.overlay] navi prev, next button

    Hi, How to edit functions of those buttons in overlay module? Regards
  • Trouble - Flowplayer integration with Quicksand

    I'm struggling to set up a video gallery (locally hosted videos) that I would like to arrange via Quicksand and display the videos in an overlay with the flowplayer. Outside of the Quicksand the flowplayer works fine but once I try to integrate it with the quicksand list the video will not open in an overlay. To be more specific: the overlay works inside quicksand when the page hasn't fully loaded. So if I quickly click on my video it will open in the overlay but no more than one time before the
  • How to upload, preview and save multiple image in database?

    hi friends, I have a form where i am uploading multiple image of a candidate then preview in same page then save images with information into database. If you have any suggestion then please let me know ASAP. thanks
  • Problem redering ajax retrieved variables

    To assign html code to a div I am using thefollowing:   $('#additionaloptions').html(vAdditionalOptions);   if vAdditionalOptions = "<font color='#FF0000'>Here is the red text</font>".   This does not render any html style tags <font color='#FF0000'></font> they are just included in the displayed text.   the following does work however   $('#additionaloptions').html("<font color='#FF0000'>Here is the red text</font>");   I am using   var vProductDetails = ParseXMLText("productdetails", xmlResponse);
  • Form troubles.

    I have a page that contains a form. Form other pages i call the form like this: $.mobile.changePage('pages/frm1/frm1.html', {transition: 'slidedown', role: 'dialog'}); So from page1 that is located in root/ i call it like this: $.mobile.changePage('pages/frm1/frm1.html', {transition: 'slidedown', role: 'dialog'}); from page 2 that is located in root/pages/test/ i call it like this: $.mobile.changePage('../../pages/frm1/frm1.html', {transition: 'slidedown', role: 'dialog'}); Everything work great...but
  • Help me Web -JQM

    I developing one web-JQM but with the following error: I have one page that displays a list of products, our style paging swipe, showing off different slide is ok. but when I click the link to go to the other, the old html tags and it still displays the first page (first slide) can not swipe anymore (when I F5 page, it runs properly but I do not want that). Please just help me.
  • Chain Select Menu Not showing data on mobile devices when use data-native-menu="false"

    Hay i have a problem in my jquery mobile sites. i have three drop down first related to country 2nd related to states and third is city. when i select country then relative states of thus country should be shown. this thing working o my lical server(desktop) but when i upload the site on server and access it throw mobile device countries are there and i can select them . but states are not showing (Remeber I am using data-native-menu="false" ). function getStates (cid) { $.ajax ({ type: "POST", url:
  • $.progressiveAjax

    Hey guys Out of the need to read a very big ajax-response on a mobile phone, I started to build a plugin which is able to process the ajax-call as if it would be a stream. Since I don't have an private ftp, check my github-rep if you have an equal need: https://github.com/richifrick/jQuery.progressiveAjax Cheers!
  • Image Rotator Caption as list item problem

    Hi There, I'm trying to build a simple image rotator using an unordered list and a "show" css class which applies a z-index of 1 to the relevant list item.   The images are held in the list items, and the final li item holds the caption.  This last item has an id of "caption", and has a z-index of 2, so that's it's visible over all the other list items. I want to skip over this last caption item as it's been caught up in the function and is being animated out of view along with the other items. Any
  • jQuery Cookie issue and changing a div based on specific page visit

    Hi everyone, I have a slight issue where I need to change a div based on a user visiting a specific page which triggers and sets a cookie then switches a div and its content to display different content (a sticky bar). BUT if any normal visitor DOES NOT visit this specific page the div content (in this case a sticky bar) then the bar does not change. I have asked on StackOverflow http://t.co/nyxQY9LH and had little response that would help as i’m new to jQuery and use of jQuery cookies especially.
  • Restrict number of characters entered in textarea in JQuery Mobile Dialog

    I have a textarea inside a dialog in a Jquery mobile page. How do i restrict the number of characters entered the textarea to a specific count.The maxlength attribute specified doesn't seem to work for the text area.
  • Cross-Site Ajax with http-authentication

    The following code doesn't work in Chrome and just results in an error in FF: $.ajax('http://xs.example.com', {     dataType: 'json',     crossDomain: true,     username: 'name',     password: 'pw',     xhrFields: { withCredentials: true },     success: function(content, textStatus, jqXHR){         console.log(['success! content, textStatus, jqXHR',content, textStatus, jqXHR]);     } );     FF fails normally when username/password is omitted (401). In Chrome username/password are just ignored (no
  • Need suggestions for jquery music player.

    Hello All, I am looking for a music player that I can put on my website and it should play single mp3 file and also have an autoplay button to play songs in a loop. I didn't know where I can get help for this, so I decided to post it on this forum, where you all developers have huge knowledge about jquery and jquery plugins. Please accept my apology if it is annoying you that I have posted my query on developer's forum. Please help me and suggest me a jquery music player which have following features:
  • JQM 1.2RC2 Dynamic Page Generation:browser refresh loading wrong page

    http://jquerymobile.com/test/docs/pages/dynamic-samples/sample-reuse-page.html The example is exactly the stuff I am using when you click an item you go to the next page : http://jquerymobile.com/test/docs/pages/dynamic-samples/sample-reuse-page.html#category-items?category=animals But since JQM1.2RC2 (ok, last used for me was the 1.2alpha so might have changed a bit earlier) when you refresh (browser refresh) it shows the "main page" and not the list #category-items?category=animals where I expected
  • Preloader for jquery's slideup()

    hello there, My site has to have a 'preloader' as seen on Gmail just before the slideup() for the 'works' section. Do you guys have any ideas? Please post your reply with links to articles that will help. Thanks in advanced! URL: http://sprywebsite.com/
  • Toggle Display and Image

    Hi All,   is there any possiablity to toggle the Display and also one image such as if i want to expand and collapse on clicking a header should toggle both the items   here is the sample code how i did it, but struck to toggle the image   $("#divActivities").hide(); $("td:contains(Activities)").click(function () {         $("#divActivities").toggle();     });   here is the HTML   <table border="0" cellpadding="0" cellspacing="0" width="100%" class="AllTables tablePaddingBottom">     <tr runat="server"
  • Need help with this

    My head looks like php Code: <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <meta name="distribution" content="global" /> <meta name="robots" content="follow, all" /> <meta name="language" content="en, sv" /> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS
  • How To upload, preview and save images in data base?

    hi Friends, I am using a form in which i am uploading 4 images but when i getting the preview it only show first image every 4 time.  pls look into code and suggest me. here is the code registration page. <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Welcome to Make My Jain Shaadi</title> <link rel="stylesheet" type="text/css" href="css/main-style.css"> <link rel="stylesheet" type="text/css" href="css/nivo-slider.css">
  • click event doesn't work in firefox

    I've got such a code     $(document).ready(function () {         $("td").click(function (e) {             var child = $(e.target).attr("id");             var td = $(this).find("span:first").text();             var numberHolder = $(this).find("span:last").attr("id");             var checkbox = $(this).find(".chbx input[type='checkbox']").attr("id");             var clientBlockFlag;             var indx;             if ($("#" + checkbox).is(":checked")) {                 indx = $("#<%=DropDownList_pastQuestions.ClientID%>
  • jQuery attr src and 304 responses

    Hi Folks, I have a simple jquery code that animates some image elements and changes their src using attr('src','url'), and this logic is happening on a timer, when I use Fiddler on the site , I noticed there is a 304 response on all the images on each time interval, commenting out the attr('src') code stoped the 304. The urls are stored in asp.net hidden fields on the page (input type hidden), and those are loaded once on the page load. Is there a way to prevent those 304 requests? Looks like it
  • Help please for form validation (with php, ajax and jquery)

    The error is that sends output to email: when required as the field is 8 characters Example: http://pruebajquery.site50.net/test1.html Where is the error, please? $(document).ready(function() { $(function(){   $("#myform").validate({ submitHandler: function(form) {     $(document).ajaxStart(function() {         $('#loading').show();         $('#result').hide();     }).ajaxStop(function() {         $('#loading').hide();         $('#result').fadeIn('slow');     });     },     rules: {             
  • General JQuery Request For HTML Capture Question

    I have a proxy page from which I make a request to a target page to capture html in a specific "DIV". The desired html is returned to the proxy page just fine. The html captured is a list of name links, with a hidden div associated with each link. The hidden "div's" each have a unique identifier associated with them. When one of the links is clicked a javascript function is supposed to execute which will take the name from the link and retrieve some more data which is then supposed to be appended
  • plz guide me with jquery when i click on image it gets zoomed

    plz guide me with jquery when i click on image it gets zoomed
  • Need pointers

    Hi, Need pointers to advanced concepts of jQuery.....
  • Pluggin must be in same folder as html file?

    Two downloaded html programs that run fine do not run properly when .js (jQuery pluggin file) is placed in a separate  js folder and not left in the same folder as the html program. As with most .js files they should be able to be referenced in the html file as: js/jQuerypluggin.js or whatever the proper name is. The jQuery files (pluggins) will only run when in the same folder as the referencing html file. Please explain why, since not every pluggin I have used does this. Thanks, davidre
  • jquery scrollbar not loaded (depend on browsers)

    i'm working on this link : http://nyam.eclecticshots.org . with this script : http://manos.malihu.gr/jquery-custom-content-scroller every pages are loaded via ajax / jquery / php. here is my question( without all problems due to different css understanding by each browser ) i'm using the script mCustomScrollBar i plly on some div (like forms or text) i load th script @ first (in index.php) then after, when i dynamically load other pages, i have to click many times on the link to load the srcollbar.
  • error selecting div element with a particular id - beginner at jQuery, javascript

    Hi, I am playing around with selecting elements in the DOM using jQuery, and I tried the following:   $(document).ready(function() {       $("a").toggle(function(){         $("div[@id=SomeID]").hide('slow');         },function(){         $("div[@id=SomeID]").show('fast');        }); });   And in the html source, I do have this section: <div id="SomeID">       <!-- div code --> </div>   However, when I click on an anchor tag I get the following error: Syntax error, unrecognized expression: div[@id=SomeID]
  • Refreshing nested listview causes corruption

    Summary: multiple calls to listview('refresh') causes the child items of the nested list to be wrongly associated with the parent (using 1.1.1 with jq 1.7.2 and no other plugins). Details: The parent list is 50+ names. When clicked/tapped, each name opens to a nested list with email, phone and other personal details. The list of names is generated dynamically. Building the listview works fine if there is only one call to listview('refresh'). To give a little quicker feel, I had wanted to do a refresh
  • Events on collapsible: click, collapse, expand: which order are they triggered?

    Hi all, I have a collapsible div, whose header is divided in two parts. The first one is the standard header text, the title of the collapsible. The second one contains, for reasons that I can't control (it is required to be like that), an input type text. I need to make the collapsible behave like this: - if the first part of the header is clicked (the title text): standard behavior (expand/collapse) - if the second part of the header is clicked (e.g.: focusing the input text): default behavior
  • Why don't I see my scaling anymore when using jqm?

    Spend 2 whole evenings now, am not seeing where I go wrong: When navigating from my main page to a dialog and back I lose control over elements on screen. What am I doing wrong? My -stripped- code looks like this (test.php): <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.css" /> <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.js"></script>
  • load the mark up in a div using jquery during ajax call

    Hi, How to load the returned content from an Ajax call using jquery into a div tag......plz
  • does jquery mobile work for a single page that is meant to be displayed in a frame?

    My portion of an app. only has control (and lives within) a frame that another document controls (and I don't have access to). I'm a newbie to jquery mobile, and I tried to create a minimal interface for this new 'mobile app' within this frame, but the framework does not seem to be doing its job (in the sense that it does not appear to be detecting the fact that I'm viewing the site with a mobile device, so the header and footer of this minimal page appear as they would when viewed using a desktop).
  • Please help

    Hello, I am developing a web application that calculates the level of a task, I used HTML5 and jQuery Mobile I've developed a list-view links to other php file in php passing a value, as follows <li> <a href = "golpes_especiales.php? value = 2 & acu = <? php echo $ acu;?>"> It tries poscionar casual </ a> </ li> In the gathering via php I Get the parameter value and also adding: <? php      $ value = $ _GET ['value']; $ acu = $ _GET ["acu"]; $ acu acu + $ = $ value; ?> php is a final file shows these
  • i cannot click or alert my li class after on my php page after my ajax call

    Hi to all,      Please help me to my problem, i have a form that will select all the list of item on my db using select option. i create jquery function. kindly refer to the code below: FORM: <script type="text/javascript" src="jquery/jquery.js"></script> <script type="text/javascript" src="jquery/jquery-ui-min.js "></script> <link rel="stylesheet" type="text/css" href="mycss/playlist.css" /> <script type="text/javascript"> function getList() { $.post('getList.php',{slect: form2.slect.value}, function(output)
  • Function code update please (ajax)

    This works for jquery version 1.3. I need help with the latest version please. When full shipment fields and shows a div "thanks for your comments" Demo: http://pruebasconjquery2012.netii.net/ $(document).ready(function() {     $().ajaxStart(function() {         $('#loading').show();         $('#result').hide();     }).ajaxStop(function() {         $('#loading').hide();         $('#result').fadeIn('slow');     });     $('#myform').submit(function() {         $.ajax({             type: 'POST',            
  • CARREGAMENTO DINÂMICO NO COMBOBOX NÃO FUNCIONA APÓS DUPLICAÇÃO DOS CAMPOS. AJUDEM!!

    Amigos estou utilizando um carregamento dinâmico para combox via ajax. No entanto após duplicar o campo combox o carregamento não funciona. Como resolver o problema? Sou iniciante no jquery e preciso da ajuda de vocês. Segue abaixo o link para o vídeo que explica melhor minha dúvida.  https://docs.google.com/file/d/0B1NeacqLnbZzNTZIUEliZVlpczA/edit?pli=1 Um abraço a todos. Friends'm using a dynamic loading via ajax combox. However after doubling the field combox charging does not work. How to fix
  • 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