• [solved] jQM PHP form MySQL plus redirection after submission

    I have a PHP form which makes a mysql record. The process itself works perfectly but not the redirection after sending. The URL of the form is: http://www.domain.xx/seafoodguide/sharkpledge.php After submission, the URL is: http://www.domain.xx/seafoodguide/sharkpledge.php#/seafoodguide/sharkpledge.php? Can anybody help me with this. Has this something to do with AJAX? Do I need to switch off Ajax for the form page? that would not be nice. Cheers Ralph Here the form: <form action="<?php echo $editFormAction;
  • Backbutton not working in iBBDemo2 Simulator

    Hi all..       I am a newbie to jquery mobile.    Backbutton not working in iBBDemo2 Simulator. I tried run the jquery mobile demo itself. But still back button is not working. have any idea about this?
  • Preventing the insertion of the xmlns attribute when creating an XML element

    It appears that whenever I create an XML element the xmlns attribute is inserted. This is causing problems when I find content. The following code is an example: var oElement = $('<ele/>'); The resulting XML structure produced appears as follows: <ele xmlns = "http://www.w3.org/1999/xhtml"></ele> In this case ele is not an html element but an explicit XML node. Because it is not an html element the find() operator fails to return the node when for example the statement is like: $(oElement).find('ele');
  • Jquery Lightbox Iframe

    Hi i have test around different many iframe plugin... now i just wonder is possible use Jquery UI dialogs using for Iframe to link another pages ...like "Login.jsp" i have test some of lightbox, but not sure which is best and what is your prefer and why  hope i get some insight from you
  • IE7 and an asterix issue

    I have this bind event as below and all works fine on all other browsers except IE 7. $('* #theButton').click(function(e) {e.preventDefault();....}; But if i add all the id's in it will work, but this is not ideal as eventually I might wont loads, at the moment I have 9 buttons with the same id. Any ideas why its not excepting the '*' reference etc  Thanks Si
  • Browser scrolls when starting sort

    This issue might be related to http://forum.jquery.com/topic/sortable-offset-when-element-is-dragged-and-page-scrolled-down-ff I have a sortable list on a page, user needs to scroll at the bottom of the page down to see the list. There are some relative positioned divs in the DOM hierarchy (which I believe is the cause of the problem). When an item is moved, it gets positioned absolutely - jQuery UI 1.8.10 line 3289 (the line above is a comment: TODO: Still need to figure out a way to make relative
  • Problem Datepicker and prompt jquery form

    Hello, I want to use a datepicker in a prompt jquery form but it doesn't work correctly (i must click on field[date] and click outside and click second time in field date to display it). I don't know what's to do to display it correctly. Thanks for you're help.
  • Google Map JQM Fusion Tables

    Hi, all. Updated my app (still in beta) with alpha3 framework. This change forced me to make a new layout as i didn´t success in getting the auto complete to work in a dialog as with previous versions. The function seems quite alright now, although i find the map itself sometimes slowing up, clogging and eventually crashing. I would love to have some feedback and/or ideas about the UI and/or the code. And please tell me if you experience problems with it. http://newspapermap.com/USmobil.html regards
  • Is using <a href="#"> still the right way to do it?

    I'm one of those crazy dudes who does mostly back-end work, and as such I don't work with JavaScript all that often (but when I do, jQuery is the ONLY way I roll!).  However, recently I'm finding myself using the "old school" practice of making an empty same-page anchor the href for an anchor tag so that a js function can fire (which I'm starting to do by assigning callbacks instead of onclick events - I'm gettin' there!). But honestly, and maybe I'm just nitpicking here, it's ugly as hell having
  • Problems with jQuery Mobile alpha 3 with jQuery 1.5 (only non-WLan)

    Hi all, I have a strange problem and hope you can help me. I am using jQuery Mobile 1.0 Alpha 3 together with jQuery core 1.5 as proposed in the documentation. Everything works fine under most setups except for iPhone 3GS with iOS 4.3 using 3G. I only get a blank screen. If I connect with the same phone via WLan everything is fine. I have tried some things and found out that switching from jQuery 1.5. to jQuery 1.4.4 does the trick. So here are the setups I have tried: iPhone 3GS: jQuery 1.5 via
  • Slides issue

    Hi folks:   I don't know if anyone out there can give me some advice about a slides issue that I'm having.   Basically the slide shuts perfectly, but on opening the hidden paragraph/table or other the slide opens well past the requred position and then suddenly snaps back into the correct position.   I am using a simple function: function init(){  for(var i=0; i<10; i++){   $('#index'+i).slideUp('slow');   $('#sub'+i).slideUp('slow');  } } function slide(num){  $('#index'+num).slideToggle('slow'); 
  • jQuery Mobile post to a html/php page from a data-rel='dialog' link

    Hi,   The title says it all really. Anyone explain to me how you can pass variables to a page thats being displayed in a dialog?   I'm basically trying to display an elarged image when someone clicks on a dialog link. Instead of making multiple pages with 99% markup the same, I jkust want to pass the image name and change the src of the img tag.   Basic stuff but this has stumped me with jquery mobile.   Cheers for your anticipated help   Update: So many people views, yet no one replied :( . Looking
  • IE8 doesnt like line 3539

    Just starting to use jQuery and downloaded from the web site just today. All works OK in FF, but in IE8 I get: "Object doesn't support this property or method" referencing line 3539 Line 3539 is:             if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) { Any ideas how to solve please? Thanks. Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.4506.2152;
  • Accordion: activating accordion-panel from button

    I have a button that should open a certain panel from my accordion (two panels). When the targeted accordion-panel is closed it opens and the other panel closes, so far so good. However, when the targeted accordion-panel was already opened it closes it!! So 'activate' seems to function as a toggle.  So I tried to collapse all and then open the panel, but it doesn't work, it keeps toggling :(   function OpenAccordionSearch()       { $("#accordion").accordion({activate: false, collapsible: true });
  • Menu: how to open hyperlink in click

    I tried code below using jqueryui latest source code. If file open is selected, hyperlink is not executed: message box appears but jquery.com page is not opened. How to open page if menu bar is selected ? <!DOCTYPE html> <html> <head>     <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css"         title="ui-theme" />     <script type="text/javascript" src="../../../jquery-1.5.1.js"></script>     <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
  • can't validate generated form

    Hi, when I generate a new <form></form>, I do not succes to validatte it. Please could you help me to find my mistakes ? here is a light example wich reproduce my problem. <html dir="ltr" xmlns="http://www.w3.org/1999/xhtml" lang="fr-FR"><head profile="http://gmpg.org/xfn/11">     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">     <script type="text/javascript" language="javascript" src="js/jquery-1.4.4.min.js"></script>     <script type="text/javascript" charset="utf-8">   
  • How to check that certain element does not exist ?

    I am dynamically creating CheckBoxes DropDoenlist with certain set of values of not all of then are created any time. But in Script i want to get sure whether that element has been created or not. So how can i check for radio button list and dropdown list. Below is the code for my dynamic list creation: sbp1+="<select id='locationOption' class='reg_select'>";                   sbp1+="<option>Location one</option>";                   sbp1+="<option>Location two</option>";                   sbp1+="<option>Location
  • Orbit Slider and Lightbox Conflict

    I am trying to implement a jquery slider (Orbit from Zurb: http://www.zurb.com/playground/jquery_image_slider_plugin) on my blogspot-blogger blog where I have already a Lightbox (not jquery, the normal 2.04) installed. I also work on a test blog (http://standuplatinotest.blogspot.com/) before implementing the changes on the live blog. Here is the oficial live blog: www.standuplatino.com where only lightbox is installed and working. If I implement on the test blog (http://standuplatinotest.blogspot.com/)
  • animate

    I checked over the jquery animate setup, but all I need it to move one div/one image. It seems everything there is for an onclick and multiple panels... is there a tutorial for  sliding "one div" horizontally once, and "onload"?
  • Slideshow Plugin

    excuse me if i can't write english truly :D   I want a slide show plugin like this site: http://www.asarconsult.com/ series of pictures with motion and if i click on each year it shows pictures of that year. thanks
  • .change not recognized in IE

    hello everybody, these are my first steps with jquery. i would like to use it to replace a checkbox with an image and to swap it when it's clicked. unfortunately the change is not recognized inside the internet-explorer. can you guys help me out? here is the code: <label for="footer_ger_lock"> <img src="unlock.png" /> <input name="footer_ger_lock" type="checkbox" value="1" id="footer_ger_lock" style="display:none;" /> </label> <script type="text/javascript"> $("#footer_ger_lock").change(function()
  • jQuery.tmpl gives error when fiering with mobileinit

    I hooked a function to the pageshow event and my tmpl method gives an error. Any clues? $(document).bind("mobileinit", function(){     // Home page     $('#home.ui-page').live('pagecreate', function(event, ui) {         getDimensions();     }); }); getDimensions is basicly a ajaxcall which puts stuff into the template but I get an error when I call the appendTo method. Pages are automagically loaded with ajax in jQM.             $('#dimensiontemplate').tmpl(dimensionlist).appendTo('#dimensionlist');
  • How to retrieve the text of a DIV whose content was changed after $(document).ready()

    I have been using the .live() function for some time now on dynamically added content.  However, I have a DIV with no content that is altered after the document is ready.  I'm changing the inner HTML of the DIV by writing a variable to the DIV like this: //Write the update URL to a DIV that isn't shown and retrieve it later $("#updateURL").html(updateURL); I'd like to read it back using: $("#updateURL").text(); But since I don't know of any events that I can bind using .live() when you just simply
  • Using Autocomplete pass textbox value as extraparam to php file

    Helloooooooo can anybody help me i want to pass value of another textfield to php file with extraparam option but it's not working . I tried this from last 3-4 days. If anybody help me to sort this is useful for me. Thanks $().ready(function()  {                     $("#txtpro_no").autocomplete("getplotno.php", {         width: 260,         matchContains: true,         mustMatch: false,                         // This I want to pass value of textbox dynamically which is not working         extraParams:
  • Navigates rather than executing

    Hi, I'm using following code to detect location and update accordingly. If I put this code in separate js it works perfectly, however when I put this inside html file (which improved the performance of site drastically), it navigates to index.html rather than executing the call back function show_map. Please help.  $('#btnLocationUpdate').live('click', function (e) {                     alert('updating location'); // this works perfect                     if (Modernizr.geolocation) { // from here,
  • Improper Loading UI

    Hi, I'm using data-theme="e". Previously, using this theme I could see loading UI (normal rectangle with loading screen) with same theme i.e. Yellow color. However, now I'm getting black rectangle without the animation. I don't understand what I've made wrong in my code. Please help.
  • PlayBook: jQueryMobile trying to A HREF='next.html' hangs in 'Loading'

      Hello, I have a very simple PlayBook app using jQueryMobile to demonstrate this issue.  Just hitting the Next button to go to next.html, it just hangs there showing "Loading" and the CPU goes high, any ideas what I'm doing wrong?   index.html <html> <head>     <title> test</title>     <meta id="viewport" name="viewport" content="width=device-width" />     <link href="jquery.mobile1.0a3.min.css" rel="stylesheet" type="text/css" />     <script src="jquery-1.5.min.js"></script>     <script src="jquery.mobile1.0a3.min.js"></script>
  • Jquery interactive map issues - does not display in browser

    Hi All! I have a problem with this jquery map: it is fully functional when I test internally in dreamweaver cs5 firefox and safari preview mode, but as soon as I test it live on a server the buttons inside the map do not appear. Please view: http://www.digitalmake-up.com/staging/testing.html I'm not sure if it's the z-index on the css or the jquery...I tried a bunch of different scenarios but nothing is working. What it's really suppose to look like is this and this is what I see internally) 1. bullets
  • Add attached links for current image shown by galleryview

    Hello Everybody. First of all I have to admit I haven't thought that through when I started with my idea. I am using galleryview 2.1.1 to show images for a gallery. These images (wrapper images) itself can have a number of smaller images (content images). The idea was to display links on each of those 'wrapper images' that open fancybox to show up the smaller ones contained as sort of 'preview' in big! Problem: I need to change the links pointing to the target images when galleryview changes the
  • JQuery & SyntaxHighlighter

    I'm trying to make a dynamic web page to show some of my software. To do this I'm using JQuery & SyntaxHighlighter but when I add the java code with the function $('#code').html(v); SyntaxHighlighter doesn't work. Why? This is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Prova Codice</title>
  • show/hide multiple div layers in the same time with same click event

    i'm new with jquery and i want to know if is possible and how to make it to show/hide multiple layers at the same click event. also i want a specific div element to remain always in the same position, even the others layers appear or disappear in page! i would appreciate very much a detailed response, that because i'm a newb with jquery usage. 
  • Odd issue with selector caching

    I've got a simple jqm demo that shows off paging of search results. You can see it here: http://www.coldfusionjedi.com/demos/march132011/index2.cfm If you search for "e" you will get a lot of results. The Prev/Next buttons work fine, but what I'm playing around with is swipe left and right events. I thought it might be cool if you could paginate using swipe events. In my index2.cfm file I added the following simple code: $(document).ready(function() { $('#searchPage').live('swipeleft swiperight',function(event){
  • jquery version Conflict issue

    <head> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jtip.js"></script>        </head>      <body>        <!-- Slider Content -->         <script type="text/javascript" src="js/jquery1.js"></script>         <script type="text/javascript" src="js/jquery.easing.1.3.js"></script>         <script type="text/javascript">             $(function() {             <!-- Function parameters -->             });         </script>                    <div class="container">
  • Function only animating first time around

    Hey guys, I'm a bit of a noob, but I'm just playing around with ideas, and trying stuff out and came across a problem I don't understand.  I have an unordered list of links, which on click append a new <li> with the appropriate image, and then slide the whole <ul> left, allowing the image to show through the window.  My problem is that after the first time around, the rest of the function executes, but the animate left doesn't.  Here's my javascript. $(document).ready(function() {     $('#showcase_holder
  • Using compound css selectors to toggle a class of an image

    I'm creating a hover effect like this. I have a 6 columns of images. There are 2 images per column stacked on top of each other. Like so: X      X      X      X      X      X X      X      X      X      X      X The top row of X's I want to start out as invisible. When you hover over the bottom row of images, the top row fade's in (by toggling the css code opacity from 0 to 100), and then when you mouseover, it fades back out to 0. I'm having trouble setting this up. Here's my HTML: <div class="carbox"
  • Using the jQuery library, I get an error in the jquery file.

    We are trying to do some effects, and work properly in Firefox and Chrome but not in IE, loading the page everything is ok, but when I click the ID for me to run the function, get error.   Detalles de error de página web Agente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E) Fecha: Sun, 13 Mar 2011 03:39:17 UTC Mensaje: No se pudo obtener la propiedad position . Argumento no válido. Línea:
  • Add CSS class to selected link

    Hey all! I'm building a calendar and using a jQuery script to shift between "list view" and "calendar view". The thing is, that I would like to add a unique CSS class to the selected link, so I can make a highlight effect (or something like that) that only applies to the currently selected link. My script is: jQuery(document).ready(function(){   //if this is not the first tab, hide it   jQuery(".tab:not(:first)").hide();     //to fix u know who   jQuery(".tab:first").show();     //when we click one
  • Slider with dynamic value issue

    Hello, I'd like to create a slider with dynamic value. How do I refresh UI to show selected value? My example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>     <title></title>     <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" />     <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.min.js"></script>    
  • Problem with jQuery custom lightbox

    Hi all. I'm writing my first jQuery script and it's my own lightbox plugin. I thought that it would be good idea to write something like that to learn how it works. Everything was good but i've got problem with 'next photo' and 'previous photo' options. When i click "next" or "previous" first time it works good. But every time i use it it's slower and slower. After 6-7 photo changes it takes more than 30 seconds to change photo. That's my functions for previous and next photo: $.fn.previousPhoto
  • what is the difference between "start a discussion" and "ask a question"?

    i am a new. this morning i posted my first question and i had waited all day for it to appear on the Getting Started forum. i just realized i had used the "ask a question" and not "start a discussion". Is it because of "its a question" so it didn't get published? where can i retrieve my question? cause it's not in the "My Account" page. it's kind of long and i didn't keep a copy for record ... Sorry for posting such a newbie question as "start a discussion". 
  • 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